* console.error() added to a empty catch block.

* typo fixes
This commit is contained in:
Arteom Balanuta
2021-07-11 13:44:42 +03:00
parent d293cc1236
commit 2f6372b0fd
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -169,7 +169,7 @@ var notifySwitch = document.getElementById("notify-switch")
var notifySetting = localStorageGet("notify-api")
var notifyPermissionExplained = 0; // 1 = granted msg shown, -1 = denied message shown
// Inital request for notifications permission
// Initial request for notifications permission
function RequestNotifyPermission() {
try {
var notifyPromise = Notification.requestPermission();
@@ -916,7 +916,7 @@ $('#highlight-selector').onchange = function (e) {
setHighlight(e.target.value);
}
// Load sidebar configaration values from local storage if available
// Load sidebar configuration values from local storage if available
if (localStorageGet('scheme')) {
setScheme(localStorageGet('scheme'));
}