diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-01 12:12:50 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-01 12:12:50 -0500 |
commit | c2077a787657f59623961437a5c604e34a2fb799 (patch) | |
tree | cadf6a1efce61f6cc0d4f6bd2c8897f178f9c6e4 /src/library_browser.js | |
parent | 94bb14c5bbd23285549d87f19dc6d09c90bcf92f (diff) |
fix emscripten_hide_mouse removal of old rule
Diffstat (limited to 'src/library_browser.js')
-rw-r--r-- | src/library_browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index 28eaa17e..b368c6ac 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -863,7 +863,7 @@ mergeInto(LibraryManager.library, { var styleSheet = document.styleSheets[0]; var rules = styleSheet.cssRules; for (var i = 0; i < rules.length; i++) { - if (rules[i].cssText.substr(0, 5) == 'canvas') { + if (rules[i].cssText.substr(0, 6) == 'canvas') { styleSheet.deleteRule(i); i--; } |