Bug 972925 - Uplift Add-on SDK to Firefox
This commit is contained in:
@@ -35,8 +35,8 @@ function getAttachEventType(model) {
|
||||
let when = model.contentScriptWhen;
|
||||
return requiresAddonGlobal(model) ? 'document-element-inserted' :
|
||||
when === 'start' ? 'document-element-inserted' :
|
||||
when === 'end' ? 'load' :
|
||||
when === 'ready' ? 'DOMContentLoaded' :
|
||||
when === 'end' ? 'load' :
|
||||
null;
|
||||
}
|
||||
exports.getAttachEventType = getAttachEventType;
|
||||
|
||||
Reference in New Issue
Block a user