mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Replace post-increment with pre-increment
And post-decrement with pre-decrement.
This commit is contained in:
@@ -88,7 +88,7 @@ var ContextMenu = new Class({
|
||||
|
||||
// position the sub-menu
|
||||
var uls = this.menu.getElementsByTagName('ul');
|
||||
for (var i = 0; i < uls.length; i++) {
|
||||
for (var i = 0; i < uls.length; ++i) {
|
||||
var ul = uls[i];
|
||||
if (ul.hasClass('scrollableMenu'))
|
||||
ul.setStyle('max-height', scrollableMenuMaxHeight);
|
||||
|
||||
Reference in New Issue
Block a user