diff options
author | 2018-04-17 23:27:59 +0100 | |
---|---|---|
committer | 2018-04-17 23:27:59 +0100 | |
commit | 463762b008f31a5817eff1c33b233567cfba00a4 (patch) | |
tree | 871ea01f702be1f0387bd6adc5e9a9f8551aa032 /static/js/revision_diff.js | |
parent | Add wiki audit logs (#52) (diff) |
Fix revision list JS & add menu item for revisions
Diffstat (limited to 'static/js/revision_diff.js')
-rw-r--r-- | static/js/revision_diff.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/revision_diff.js b/static/js/revision_diff.js index 86f30b41..2b412d46 100644 --- a/static/js/revision_diff.js +++ b/static/js/revision_diff.js @@ -1,6 +1,6 @@ "use strict"; -function(){ +(function() { let buttons = document.querySelectorAll("td input"); // Fetch all radio buttons let id_reg = /compare-(before|after)-([\w|-]+)/; // Matches compare-after/before-ID @@ -72,4 +72,4 @@ buttons.forEach(function(button){ radioButtonChecked(button); } }); -}(); +})(); |