aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-01 12:12:50 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-12-01 12:12:50 -0500
commitc2077a787657f59623961437a5c604e34a2fb799 (patch)
treecadf6a1efce61f6cc0d4f6bd2c8897f178f9c6e4 /src/library_browser.js
parent94bb14c5bbd23285549d87f19dc6d09c90bcf92f (diff)
fix emscripten_hide_mouse removal of old rule
Diffstat (limited to 'src/library_browser.js')
-rw-r--r--src/library_browser.js2
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--;
}