Fix wrong API method names

Closes #8828.
This commit is contained in:
Vladimir Golovnev (Glassez) 2018-05-07 17:45:50 +03:00 committed by sledgehammer999
parent 7a93fae6e4
commit 667f84995c
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
2 changed files with 5 additions and 5 deletions

View file

@ -633,7 +633,7 @@ initializeWindows = function() {
});
});
['decrease_prio', 'increase_prio', 'top_prio', 'bottom_prio'].each(function(item) {
['decreasePrio', 'increasePrio', 'topPrio', 'bottomPrio'].each(function(item) {
addClickEvent(item, function(e) {
new Event(e).stop();
setPriorityFN(item);

View file

@ -43,16 +43,16 @@
renameFN();
},
prioTop: function(element, ref) {
setPriorityFN('top_prio');
setPriorityFN('topPrio');
},
prioUp: function(element, ref) {
setPriorityFN('increase_prio');
setPriorityFN('increasePrio');
},
prioDown: function(element, ref) {
setPriorityFN('decrease_prio');
setPriorityFN('decreasePrio');
},
prioBottom: function(element, ref) {
setPriorityFN('bottom_prio');
setPriorityFN('bottomPrio');
},
DownloadLimit: function(element, ref) {