Skip to content

Commit 862e482

Browse files
committed
[refactor] remove unused class from modal and shade module
1 parent 2f68d8c commit 862e482

File tree

5 files changed

+3
-13
lines changed

5 files changed

+3
-13
lines changed

‎src/css/modal.css‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,13 @@
3434
grid-template-rows:1fr auto;
3535
justify-items: stretch;
3636
align-items: stretch;
37-
transition: opacity var(--layout-transition-speed-fast);
37+
transition: opacity var(--layout-transition-speed-fast) ease-in-out;
3838
}
3939

4040
.modal-wrapper .container{
4141
max-width:100%;
4242
}
4343

44-
.is-transition-end .modal-wrapper{
45-
transition: opacity var(--layout-transition-speed-fast) ease-in-out;
46-
}
47-
4844
.modal-body{
4945
border-radius:var(--theme-radius) var(--theme-radius) 00;
5046
padding:2em;

‎src/js/modal.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ var modal = (function(){
115115
if(event.propertyName==="opacity"&&getComputedStyle(this).opacity==0){
116116
this.parentElement.removeChild(this);
117117
};
118-
if(event.propertyName==="opacity"&&getComputedStyle(this).opacity==1){
119-
helper.addClass(this,"is-transition-end");
120-
};
121118
}.bind(modal),false);
122119
actionButton.addEventListener("click",function(event){
123120
if(options.successAction){

‎src/js/shade.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ var shade = (function(){
8080
if(event.propertyName==="opacity"&&getComputedStyle(this).opacity==0){
8181
this.parentElement.removeChild(this);
8282
};
83-
if(event.propertyName==="opacity"&&getComputedStyle(this).opacity==1){
84-
helper.addClass(this,"is-transition-end");
85-
};
8683
}.bind(shade),false);
8784
shade.addEventListener("click",function(){
8885
if(options.action){

‎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.61.3";
3+
varcurrent="3.62.0";
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.61.3",
5+
"version": "3.62.0",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)