mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-08 07:26:24 +08:00
Reset initialized flag on destroy
This commit is contained in:
parent
53b1ee6e09
commit
9273f3320e
@ -805,6 +805,11 @@ class SimpleKeyboard {
|
|||||||
*/
|
*/
|
||||||
window["SimpleKeyboardInstances"][this.currentInstanceName] = null;
|
window["SimpleKeyboardInstances"][this.currentInstanceName] = null;
|
||||||
delete window["SimpleKeyboardInstances"][this.currentInstanceName];
|
delete window["SimpleKeyboardInstances"][this.currentInstanceName];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset initialized flag
|
||||||
|
*/
|
||||||
|
this.initialized = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user