diff --git a/core/client.js b/core/client.js index deaa8eac..4ec19653 100644 --- a/core/client.js +++ b/core/client.js @@ -823,9 +823,6 @@ function removeFile() { } window.addEventListener("load", function() { - if (window.Notification) { - Notification.requestPermission(); - } window.addEventListener("hashchange", hashChange); window.addEventListener("focus", focus); window.addEventListener("blur", blur); diff --git a/core/form.js b/core/form.js index 4cba9bec..4849f0f2 100644 --- a/core/form.js +++ b/core/form.js @@ -1,3 +1,5 @@ +"use strict"; + function decode(encoded) { var result = ""; for (var i = 0; i < encoded.length; i++) {