diff --git a/public/js/live.js b/public/js/live.js index 8ac6d94..6bd3352 100644 --- a/public/js/live.js +++ b/public/js/live.js @@ -605,9 +605,9 @@ $(document).ready(function() { setInterval(poll, 30000); poll(); - var args = toObject(window.location.search.substr(1).split("&").map(function(arg){ return arg.split("="); })); - if (args.q) { - $('input[type="search"]').val(args.q); + var params = toObject(window.location.search.substr(1).split("&").map(function(arg){ return arg.split("="); })); + if (params.q) { + $('#submit_section input[type="search"]').val(params.q); } log(`Notification permissions: ${Notification.permission}`); diff --git a/public/live.html b/public/live.html index ffcdae1..c74d29c 100644 --- a/public/live.html +++ b/public/live.html @@ -31,29 +31,31 @@

Add channels to get browser notification when they go -
-
- - - - -
- -
-
- - - - -
- -
-
- - - - -
+
+
+
+ + + + +
+ +
+
+ + + + +
+ +
+
+ + + + +
+

Polled 0 times (last updated at N/A).