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 */
/*global window, rJS, RSVP, URI,
SimpleQuery, ComplexQuery, Query, QueryFactory, document, XMLHttpRequest,
console*/
console, MouseEvent */
(function (window, rJS, RSVP, URI, document,
SimpleQuery, ComplexQuery, Query, QueryFactory, XMLHttpRequest, console,
MouseEvent) {
......@@ -576,8 +576,7 @@
}
if (active_index >= ul.childNodes.length) {
active_index = 0;
}
else if (active_index === -1) {
} else if (active_index === -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