[bug] fix drag drop not working after sorting links from menu

This commit is contained in:
Kuldeep M 2019-06-18 11:41:44 +01:00
parent 181be20c76
commit d5dcaea23d
4 changed files with 8 additions and 2 deletions

View File

@ -1903,6 +1903,7 @@ var control = (function() {
func: function() {
link.clear();
link.render.item.all();
sortable(".link-area");
}
}, {
element: helper.e(".control-link-style-block"),
@ -1925,6 +1926,7 @@ var control = (function() {
bookmarks.sort("letter");
link.clear();
link.render.item.all();
sortable(".link-area");
}
}, {
element: helper.e(".control-link-sort-icon"),
@ -1933,6 +1935,7 @@ var control = (function() {
bookmarks.sort("icon");
link.clear();
link.render.item.all();
sortable(".link-area");
}
}, {
element: helper.e(".control-link-sort-name"),
@ -1941,6 +1944,7 @@ var control = (function() {
bookmarks.sort("name");
link.clear();
link.render.item.all();
sortable(".link-area");
}
}, {
element: helper.e(".control-theme-style-dark"),

View File

@ -8,6 +8,7 @@ var search = (function() {
_searchClear();
link.clear();
link.render.item.all();
sortable(".link-area");
}, false);
searchClear.addEventListener("click", function() {
_toggle(this);
@ -83,6 +84,7 @@ var search = (function() {
searchInput.focus();
link.clear();
link.render.item.all();
sortable(".link-area");
};
var _focus = function() {

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "3.16.1";
var current = "3.16.2";
var compare = function(a, b) {
var pa = a.split(".");

View File

@ -2,7 +2,7 @@
"name": "nightTab",
"short_name": "nightTab",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"version": "3.16.1",
"version": "3.16.2",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"