mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 19:19:59 +02:00
Refactor ZenCommonUtils and ZenPinnedTabManager classes
This commit is contained in:
parent
6f9a076751
commit
327380907e
2 changed files with 12 additions and 5 deletions
|
@ -43,6 +43,13 @@ class ZenMultiWindowFeature {
|
|||
class ZenDOMOperatedFeature {
|
||||
constructor() {
|
||||
var initBound = this.init.bind(this);
|
||||
window.addEventListener('DOMContentLoaded', initBound, { once: true });
|
||||
document.addEventListener('DOMContentLoaded', initBound, { once: true });
|
||||
}
|
||||
}
|
||||
|
||||
class ZenPreloadedFeature {
|
||||
constructor() {
|
||||
var initBound = this.init.bind(this);
|
||||
document.addEventListener('MozBeforeInitialXULLayout', initBound, { once: true });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue