Removed select by hover https://github.com/libredirect/browser_extension/issues/961
This commit is contained in:
parent
39d4282556
commit
3043541b53
|
@ -8,8 +8,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "web-ext run",
|
||||
"nightly": "web-ext run --firefox=/home/esmail/software/firefox_nightly/firefox",
|
||||
"start_ar": "web-ext run --firefox=/home/esmail/software/firefox_ar/firefox",
|
||||
"firefox": "web-ext run --firefox=/home/manerakai/software/firefox/firefox",
|
||||
"start_ar": "web-ext run --firefox=/home/manerakai/software/firefox_ar/firefox",
|
||||
"android": "web-ext run -t firefox-android --adb-device emulator-5554 --firefox-apk org.mozilla.firefox --adb-remove-old-artifacts",
|
||||
"build": "web-ext build -i pages/options_src -i pages/popup_src pages/icons -i pages/popup_src -i pages/components",
|
||||
"build_chromium": "brave-browser --pack-extension=src/ --pack-extension-key=src.pem",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
import { onDestroy } from "svelte"
|
||||
export let details
|
||||
export let selectedService
|
||||
import { config, options } from "../stores"
|
||||
let _options
|
||||
let _config
|
||||
|
@ -24,9 +25,6 @@
|
|||
theme = "light"
|
||||
}
|
||||
}
|
||||
|
||||
export let selectedService
|
||||
|
||||
$: imageType = _config.services[selectedService].frontends[details.value].imageType
|
||||
</script>
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
clearable={false}
|
||||
class="svelte_select"
|
||||
value={selectedService}
|
||||
on:hoverItem={e => (selectedService = servicesEntries[e.detail][0])}
|
||||
on:change={e => (selectedService = e.detail.value)}
|
||||
items={[
|
||||
...servicesEntries.map(([serviceKey, service]) => {
|
||||
|
@ -105,10 +104,6 @@
|
|||
dir="ltr"
|
||||
class="svelte_select"
|
||||
value={serviceOptions.frontend}
|
||||
on:hoverItem={e => {
|
||||
serviceOptions.frontend = frontendEntries[e.detail][0]
|
||||
options.set(_options)
|
||||
}}
|
||||
on:change={e => {
|
||||
serviceOptions.frontend = e.detail.value
|
||||
options.set(_options)
|
||||
|
|
Loading…
Reference in New Issue