Permalink
Browse files

Make setting of a default value delayed for the next tick.

  • Loading branch information...
1 parent ae3ea6c commit 23492cb0232b045ea2b4a80576148b2b31c7531f Yaroslaff Fedin committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Mixin/Value.js
View
@@ -22,7 +22,7 @@ LSD.Mixin.Value = new Class({
value: {
enable: function() {
if (LSD.Mixin.Command.getCommandType.call(this) == 'command')
- this.setDefaultValue()
+ this.setDefaultValue.delay(10, this)
}
}
},

0 comments on commit 23492cb

Please sign in to comment.