mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-14 01:48:20 +01:00
[bug] fix drag drop not working after sorting links from menu
This commit is contained in:
parent
181be20c76
commit
d5dcaea23d
@ -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"),
|
||||
|
@ -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() {
|
||||
|
@ -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(".");
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user