mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
2.8.0 - Webpack 4, Babel 7
This commit is contained in:
@@ -93,7 +93,7 @@ class PhysicalKeyboard {
|
||||
this.simpleKeyboardInstance.dispatch(instance => {
|
||||
let buttonDOM = instance.getButtonElement(buttonPressed) || instance.getButtonElement(`{${buttonPressed}}`);
|
||||
|
||||
if(buttonDOM){
|
||||
if(buttonDOM && buttonDOM.removeAttribute){
|
||||
buttonDOM.removeAttribute("style");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user