mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-29 20:34:04 +02:00
Fix some modals not closing when pressing the back button
This commit is contained in:
parent
06c0153cf5
commit
2820fc8acf
@ -498,7 +498,7 @@
|
|||||||
|
|
||||||
var tryCloseModal1 = function(){
|
var tryCloseModal1 = function(){
|
||||||
var modal = $("#open-modal");
|
var modal = $("#open-modal");
|
||||||
return modal.is(":visible") && tryClickSelector("a[rel=dismiss]", modal);
|
return modal.is(":visible") && tryClickSelector("a.mdl-dismiss", modal);
|
||||||
};
|
};
|
||||||
|
|
||||||
var tryCloseModal2 = function(){
|
var tryCloseModal2 = function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user