We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 113f083 commit 69f6a5bCopy full SHA for 69f6a5b
init.js
@@ -33,14 +33,14 @@ var MSG_EDIT_ITEM_CANC = "Editing canceled";
33
34
/* ---------- BUTTONS ---------- */
35
var BUTTON = function(key, _mode){
36
- // if catalog has no items and mode doesn't edit then ignore and only actions
37
- if(_mode != 1 && menu[key].values.length == 0)
38
- return;
39
-
40
if(key == undefined){
41
key = bot.init.menu_root;
42
}
43
+ // if catalog has no items and mode doesn't edit then ignore and only actions
+ if(_mode != 1 && menu[key].values.length == 0)
+ return;
+
44
var btns = [];
45
46
for(var i = 0; i < menu[key].values.length; i++){
0 commit comments