1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2025-11-21 06:52:06 +00:00

Features: Add toolbar button

This commit is contained in:
2017-10-14 19:33:20 +02:00
parent 7e11b0b7da
commit 30b432d1b8
2 changed files with 11 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ core.init = function(){ // Init module
core.Settings.init(function(){
core.Messages.init();
browser.runtime.sendMessage({ cmd: core.Messages.Commands.settingsChanged });
browser.browserAction.onClicked.addListener(function(){
browser.tabs.create({});
});
core.GridNodes.sync(core.node, core.settings.grid.root, function(){
browser.runtime.sendMessage({ cmd: core.Messages.Commands.gridNodesLoaded });
core.Bookmarks.initListener();