mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-10 14:37:13 +08:00
Add Engine.autoSelect and add to Engine.export64
This commit is contained in:
@@ -313,6 +313,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Engine.autoSelect('#description textarea')
|
||||||
},
|
},
|
||||||
|
|
||||||
import64: function(string64) {
|
import64: function(string64) {
|
||||||
@@ -627,6 +628,10 @@
|
|||||||
document.onmousedown = eventPassthrough;
|
document.onmousedown = eventPassthrough;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
autoSelect: function(selector) {
|
||||||
|
$(selector).focus().select();
|
||||||
|
},
|
||||||
|
|
||||||
handleStateUpdates: function(e){
|
handleStateUpdates: function(e){
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user