Skip to content

Commit 049df95

Browse files
committed
[bug] fix broke state path for edit control
1 parent 6506b33 commit 049df95

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

‎js/control.js‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -956,14 +956,6 @@ var control = (function(){
956956
};
957957

958958
varupdate=function(){
959-
vareventType={
960-
button: "click",
961-
checkbox: "change",
962-
radio: "change",
963-
text: "input",
964-
range: "input",
965-
color: "change"
966-
};
967959
varvalueMod={
968960
reverse: function(value,element){
969961
returnparseInt(element.max,10)-value;

‎js/keyboard.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var keyboard = (function(){
1313
}elseif(state.get().bookmarks.edit){
1414
helper.setObject({
1515
object: state.get(),
16-
path: "edit.active",
16+
path: "bookmarks.edit",
1717
newValue: false
1818
});
1919
control.update();

‎js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
varversion=(function(){
22

33
// version is normally bumped when the state needs changing or any new functionality is added
4-
varcurrent="2.9.2";
4+
varcurrent="2.9.3";
55

66
varget=function(){
77
varnumber=current.split(".");

0 commit comments

Comments
(0)