Commit f34ae161 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: jslint

parent e84973af
/*jslint indent: 2, maxerr: 3, nomen: true, maxlen: 80 */ /*jslint indent: 2, maxerr: 3, nomen: true, maxlen: 80 */
/*global window, rJS, RSVP, URI, /*global window, rJS, RSVP, URI,
SimpleQuery, ComplexQuery, Query, QueryFactory, document, XMLHttpRequest, SimpleQuery, ComplexQuery, Query, QueryFactory, document, XMLHttpRequest,
console*/ console, MouseEvent */
(function (window, rJS, RSVP, URI, document, (function (window, rJS, RSVP, URI, document,
SimpleQuery, ComplexQuery, Query, QueryFactory, XMLHttpRequest, console, SimpleQuery, ComplexQuery, Query, QueryFactory, XMLHttpRequest, console,
MouseEvent) { MouseEvent) {
...@@ -576,8 +576,7 @@ ...@@ -576,8 +576,7 @@
} }
if (active_index >= ul.childNodes.length) { if (active_index >= ul.childNodes.length) {
active_index = 0; active_index = 0;
} } else if (active_index === -1) {
else if (active_index === -1) {
active_index = ul.childNodes.length - 1; active_index = ul.childNodes.length - 1;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment