Skip to content

Commit d5dcaea

Browse files
committed
[bug] fix drag drop not working after sorting links from menu
1 parent 181be20 commit d5dcaea

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

‎js/control.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,7 @@ var control = (function(){
19031903
func: function(){
19041904
link.clear();
19051905
link.render.item.all();
1906+
sortable(".link-area");
19061907
}
19071908
},{
19081909
element: helper.e(".control-link-style-block"),
@@ -1925,6 +1926,7 @@ var control = (function(){
19251926
bookmarks.sort("letter");
19261927
link.clear();
19271928
link.render.item.all();
1929+
sortable(".link-area");
19281930
}
19291931
},{
19301932
element: helper.e(".control-link-sort-icon"),
@@ -1933,6 +1935,7 @@ var control = (function(){
19331935
bookmarks.sort("icon");
19341936
link.clear();
19351937
link.render.item.all();
1938+
sortable(".link-area");
19361939
}
19371940
},{
19381941
element: helper.e(".control-link-sort-name"),
@@ -1941,6 +1944,7 @@ var control = (function(){
19411944
bookmarks.sort("name");
19421945
link.clear();
19431946
link.render.item.all();
1947+
sortable(".link-area");
19441948
}
19451949
},{
19461950
element: helper.e(".control-theme-style-dark"),

‎js/search.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var search = (function(){
88
_searchClear();
99
link.clear();
1010
link.render.item.all();
11+
sortable(".link-area");
1112
},false);
1213
searchClear.addEventListener("click",function(){
1314
_toggle(this);
@@ -83,6 +84,7 @@ var search = (function(){
8384
searchInput.focus();
8485
link.clear();
8586
link.render.item.all();
87+
sortable(".link-area");
8688
};
8789

8890
var_focus=function(){

‎js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
varversion=(function(){
22

3-
varcurrent="3.16.1";
3+
varcurrent="3.16.2";
44

55
varcompare=function(a,b){
66
varpa=a.split(".");

‎manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "3.16.1",
5+
"version": "3.16.2",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)