-
- Downloads
cssmanager: Refactor CSS manager creation to avoid race condition
Safari takes a while to initialize `document.styleSheets`, which results in a race condition when loading the pad. Avoid the race condition by accessing the CSSStyleSheet objects directly from the HTMLStyleElement DOM objects.
Showing
- src/node/utils/tar.json 1 addition, 1 deletionsrc/node/utils/tar.json
- src/static/js/ace.js 6 additions, 1 deletionsrc/static/js/ace.js
- src/static/js/ace2_inner.js 10 additions, 26 deletionssrc/static/js/ace2_inner.js
- src/static/js/broadcast.js 2 additions, 2 deletionssrc/static/js/broadcast.js
- src/static/js/cssmanager.js 1 addition, 30 deletionssrc/static/js/cssmanager.js
Loading
Please register or sign in to comment