Cleaned code.
This commit is contained in:
parent
3b099e971a
commit
7c870b6d93
|
@ -604,7 +604,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
Create: function (menu) {
|
Create: function (menu) {
|
||||||
console.log('create');
|
|
||||||
if (!this.hidden) {
|
if (!this.hidden) {
|
||||||
var def = this.Attributes();
|
var def = this.Attributes();
|
||||||
var label = this.Label(def,menu);
|
var label = this.Label(def,menu);
|
||||||
|
@ -915,7 +914,6 @@
|
||||||
return [["span",span,[this.marker]]," "+this.Name()];
|
return [["span",span,[this.marker]]," "+this.Name()];
|
||||||
},
|
},
|
||||||
Mouseup: function (event,menu) {
|
Mouseup: function (event,menu) {
|
||||||
console.log(menu);
|
|
||||||
if (!this.disabled) {
|
if (!this.disabled) {
|
||||||
var child = menu.parentNode.childNodes;
|
var child = menu.parentNode.childNodes;
|
||||||
for (var i = 0, m = child.length; i < m; i++) {
|
for (var i = 0, m = child.length; i < m; i++) {
|
||||||
|
@ -926,7 +924,6 @@
|
||||||
}
|
}
|
||||||
menu.firstChild.display = "";
|
menu.firstChild.display = "";
|
||||||
CONFIG.settings[this.variable] = this.value;
|
CONFIG.settings[this.variable] = this.value;
|
||||||
console.log('Changing');
|
|
||||||
MENU.cookie[this.variable] = CONFIG.settings[this.variable]; MENU.saveCookie();
|
MENU.cookie[this.variable] = CONFIG.settings[this.variable]; MENU.saveCookie();
|
||||||
SIGNAL.Post(["radio button",this]);
|
SIGNAL.Post(["radio button",this]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user