Initial tab restyle work to match experiment bug #13 (#50)

This commit is contained in:
Jonathan Kingston
2017-01-10 12:15:59 +00:00
committed by GitHub
parent 398ea9907f
commit 0cb078b589
2 changed files with 121 additions and 0 deletions
+5
View File
@@ -11,6 +11,8 @@ const { viewFor } = require("sdk/view/core");
const webExtension = require('sdk/webextension');
const windows = require("sdk/windows");
const windowUtils = require('sdk/window/utils');
const { attachTo } = require("sdk/content/mod");
const { Style } = require("sdk/stylesheet/style");
let ContainerService =
{
@@ -295,6 +297,9 @@ let ContainerService =
});
button.appendChild(popup);
let style = Style({ uri: self.data.url("chrome.css") });
attachTo(style, viewFor(window));
},
};