mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
workaround for broken test
This commit is contained in:
parent
6184b3de78
commit
d76c57b79e
7
plugins/node_modules/ace/lib/ace/editor.js
generated
vendored
7
plugins/node_modules/ace/lib/ace/editor.js
generated
vendored
@ -640,6 +640,13 @@ Editor.$uid = 0;
|
||||
* Brings the current `textInput` into focus.
|
||||
**/
|
||||
this.focus = function() {
|
||||
// Safari needs the timeout
|
||||
// iOS and Firefox need it called immediately
|
||||
// to be on the save side we do both
|
||||
var _self = this;
|
||||
setTimeout(function() {
|
||||
_self.textInput.focus();
|
||||
});
|
||||
this.textInput.focus();
|
||||
};
|
||||
|
||||
|
||||
2
plugins/node_modules/ace/lib/ace/selection.js
generated
vendored
2
plugins/node_modules/ace/lib/ace/selection.js
generated
vendored
@ -211,7 +211,7 @@ var Selection = function(session) {
|
||||
* Selects all the text in the document.
|
||||
**/
|
||||
this.selectAll = function() {
|
||||
this.anchor.setPosition(0, 0);
|
||||
this.setSelectionAnchor(0, 0);
|
||||
this.cursor.setPosition(Number.MAX_VALUE, Number.MAX_VALUE);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user