[SUCS Devel] [Git][sucssite/sucs-site][master] Make jshint stop complaining

Imran Hussain imranh at sucs.org
Mon Nov 9 14:57:45 GMT 2015


Imran Hussain pushed to branch master at sucssite / sucs-site


Commits:
c1d56a65 by Imran Hussain at 2015-11-09T14:57:24Z
Make jshint stop complaining

- - - - -


1 changed file:

- htdocs/js/cb.js


Changes:

=====================================
htdocs/js/cb.js
=====================================
--- a/htdocs/js/cb.js
+++ b/htdocs/js/cb.js
@@ -55,9 +55,9 @@ function initCB() {
     }
     // Loop through the found div elements
     var thediv, outer, i1, i2;
-    for (var i = 0; i < cbDivs.length; i++) {
+    for (var j = 0; j < cbDivs.length; j++) {
         // Save the original outer div for later
-        thediv = cbDivs[i];
+        thediv = cbDivs[j];
         // 	Create a new div, give it the original div's class attribute, and replace 'cbb' with 'cb'
         outer = createElement('div');
         outer.className = thediv.className;



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/c1d56a651bb401b237a65c1f28147dfa107025fa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20151109/4a1e673c/attachment.html>


More information about the Devel mailing list