diff options
author | fox <[email protected]> | 2018-03-11 08:38:55 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2018-03-11 08:38:55 +0000 |
commit | f60ca3a3498affe7b07e8f443540784984d0e0b0 (patch) | |
tree | 6207b74b5c2273c28f497ea04f13bd93b82e0752 /js/functions.js | |
parent | e2e23887fb0756d86165cb5c602f5e68292da3af (diff) | |
parent | a30f862de452c05ef2c89361675449e93071b951 (diff) |
Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode
Diffstat (limited to 'js/functions.js')
-rwxr-xr-x | js/functions.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/functions.js b/js/functions.js index d33a5e04f..6c0b97cb8 100755 --- a/js/functions.js +++ b/js/functions.js @@ -301,7 +301,7 @@ function getURLParam(param){ } function closeInfoBox() { - dialog = dijit.byId("infoBox"); + var dialog = dijit.byId("infoBox"); if (dialog) dialog.hide(); @@ -939,7 +939,7 @@ function quickAddFilter() { if (dijit.byId("filterEditDlg")) dijit.byId("filterEditDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "filterEditDlg", title: __("Create Filter"), style: "width: 600px", @@ -1257,7 +1257,7 @@ function editFeed(feed) { if (dijit.byId("feedEditDlg")) dijit.byId("feedEditDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "feedEditDlg", title: __("Edit Feed"), style: "width: 600px", @@ -1432,7 +1432,7 @@ function showFeedsWithErrors() { if (dijit.byId("errorFeedsDlg")) dijit.byId("errorFeedsDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "errorFeedsDlg", title: __("Feeds with update errors"), style: "width: 600px", |