mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-03-29 00:46:13 +01:00
[bug] fix additional events on controls not saving state when fired
This commit is contained in:
parent
e032dd416e
commit
360135b94b
@ -1752,6 +1752,7 @@ var control = (function() {
|
|||||||
object.additionalEvents.forEach(function(item, index) {
|
object.additionalEvents.forEach(function(item, index) {
|
||||||
object.element.addEventListener(item.event, function(event) {
|
object.element.addEventListener(item.event, function(event) {
|
||||||
item.func(event);
|
item.func(event);
|
||||||
|
data.save();
|
||||||
}, false);
|
}, false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
// version is normally bumped when the state needs changing or any new functionality is added
|
// version is normally bumped when the state needs changing or any new functionality is added
|
||||||
var current = "3.1.1";
|
var current = "3.1.2";
|
||||||
|
|
||||||
var compare = function(a, b) {
|
var compare = function(a, b) {
|
||||||
var pa = a.split(".");
|
var pa = a.split(".");
|
||||||
|
Loading…
Reference in New Issue
Block a user