changeset 2768:4909638a54f9

fix 2 small js issues pycharm warned about
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 02 Sep 2014 10:31:09 +0200
parents 2b9472c863db
children 88c448cd1001
files MoinMoin/static/js/common.js MoinMoin/static/js/search.js
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/js/common.js	Wed Aug 27 09:47:33 2014 -0700
+++ b/MoinMoin/static/js/common.js	Tue Sep 02 10:31:09 2014 +0200
@@ -97,7 +97,7 @@
     "use strict";
     var elem, overlayUL, overlayLR, wrapper, wrappers, transclusions, classes,
         rightArrow = '\u2192',
-        mediaTags = ['OBJECT', 'IMG', 'AUDIO', 'VIDEO' ]
+        mediaTags = ['OBJECT', 'IMG', 'AUDIO', 'VIDEO' ];
     // get list of elements to be wrapped; must work in reverse order in case there are nested transclusions
     transclusions = $($('.moin-transclusion').get().reverse());
     transclusions.each(function (index) {
--- a/MoinMoin/static/js/search.js	Wed Aug 27 09:47:33 2014 -0700
+++ b/MoinMoin/static/js/search.js	Tue Sep 02 10:31:09 2014 +0200
@@ -30,7 +30,7 @@
     }
 
     $('#moin-search-query').keyup(function() {
-        var allrev;
+        var allrev, time_sorting;
         var mtime = false;
         var filetypes= '';
         allrev = $('[name="history"]:checked').val() === "all";