1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2025-12-16 17:03:12 +00:00

4 Commits

Author SHA1 Message Date
5bc78f7da6 Version 0.1.17 2018-10-21 23:27:31 +02:00
67fea9aa9c Bug Can move tile when this is the first added item 2018-10-21 22:47:59 +02:00
c68d2d4cfb Version 0.1.16 2018-10-21 16:04:55 +02:00
f07e530446 Bug Startpage not loaded 2018-10-21 16:03:50 +02:00
3 changed files with 14 additions and 1 deletions

View File

@@ -13,6 +13,18 @@ app.init = function(){ // Init module
app.Bookmarks.initListener(); app.Bookmarks.initListener();
app.ContextMenus.initMenu(); app.ContextMenus.initMenu();
}); });
// Start page workaround :
setTimeout(function(){
browser.tabs.query({}).then( function(tabs) {
tabs.forEach(function(itm){
if(itm.url=='about:blank'){
browser.tabs.update(itm.id, {url: browser.extension.getURL('dial')});
}
});
});
}, 500);
}); });
}; };

View File

@@ -346,6 +346,7 @@ dial.initGrid = function(){
ev.preventDefault(); ev.preventDefault();
return; return;
} }
if(dial.page == 0) dial.page = 1;
var index = (dial.page - 1) * (app.settings.grid.rows * app.settings.grid.columns) + +(ev.target.parentElement.getAttribute('gridindex')); var index = (dial.page - 1) * (app.settings.grid.rows * app.settings.grid.columns) + +(ev.target.parentElement.getAttribute('gridindex'));
if(app.settings.grid.backNode && dial.path != '/') index -= dial.page; if(app.settings.grid.backNode && dial.path != '/') index -= dial.page;
ev.dataTransfer.setData("text/plain", JSON.stringify({parentId: app.node.id, index: index})); ev.dataTransfer.setData("text/plain", JSON.stringify({parentId: app.node.id, index: index}));

View File

@@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "Quick Dial", "name": "Quick Dial",
"version": "0.1.15", "version": "0.1.17",
"author": "MatMoul", "author": "MatMoul",
"homepage_url": "https://github.com/MatMoul/quickdial-webext", "homepage_url": "https://github.com/MatMoul/quickdial-webext",
"developer": { "developer": {