mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Replace post-increment with pre-increment
And post-decrement with pre-decrement.
This commit is contained in:
committed by
sledgehammer999
parent
bdac8f8db8
commit
be5ad63e21
@@ -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