Skip to content

Commit f473153

Browse files
committed
[bug] fix data clear modal missing shade
1 parent 6a30e7d commit f473153

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

‎src/js/data.js‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,23 @@ var data = (function(){
101101
successAction: function(){
102102
wipe();
103103
render.reload();
104+
shade.close();
105+
pagelock.unlock();
106+
},
107+
cancelAction: function(){
108+
shade.close();
109+
pagelock.unlock();
104110
},
105111
actionText: "Clear all data",
106112
size: "small"
107113
});
114+
shade.open({
115+
action: function(){
116+
modal.close();
117+
pagelock.unlock();
118+
}
119+
});
120+
pagelock.lock();
108121
};
109122

110123
render.reload=function(){

‎src/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.50.0";
3+
varcurrent="3.50.1";
44

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

‎src/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.50.0",
5+
"version": "3.50.1",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)