Browse Source

fix pasting going to wrong href

main
familyfriendlymikey 3 years ago
parent
commit
06582001f3
  1. 2
      app/client.imba
  2. 2
      package.json
  3. 2
      sw.imba

2
app/client.imba

@ -195,7 +195,7 @@ tag app
def handle_paste e def handle_paste e
return if state.query.length > 0 return if state.query.length > 0
global.setTimeout(&, 0) do global.setTimeout(&, 0) do
window.location.href = state.config.search_engine_url + state.query.trim! window.location.href = "//{state.config.search_engine_url}{state.query.trim!}"
def toggle_settings def toggle_settings
if settings_active if settings_active

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fuzzyhome", "name": "fuzzyhome",
"version": "0.0.24", "version": "0.0.25",
"scripts": { "scripts": {
"start": "imba run -SMH --baseurl . -w server.imba", "start": "imba run -SMH --baseurl . -w server.imba",
"build-app": "imba build -SMH --baseurl . server.imba", "build-app": "imba build -SMH --baseurl . server.imba",

2
sw.imba

@ -1,7 +1,7 @@
let p = console.log let p = console.log
const app_prefix = "fuzzyhome_cache" const app_prefix = "fuzzyhome_cache"
const version = "0.0.24" const version = "0.0.25"
const cache_name = "{app_prefix}-{version}" const cache_name = "{app_prefix}-{version}"

Loading…
Cancel
Save