From b59d4bf1e4af4c44bffcdf632c7df67d94cc297e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aykut=20=C3=87evik?= Date: Fri, 13 Nov 2020 17:02:34 +0100 Subject: [PATCH] fixed a bug where settings were not always loaded correctly --- js/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/options.js b/js/options.js index 689b82e..38a253b 100644 --- a/js/options.js +++ b/js/options.js @@ -1,4 +1,4 @@ -$(document).ready(function () { +$(window).on("load", function () { loadSettings(); $('#btnSaveSettings').click(saveSettings); });