mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-13 18:15:48 +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 modal = $("#open-modal");
|
||||
return modal.is(":visible") && tryClickSelector("a[rel=dismiss]", modal);
|
||||
return modal.is(":visible") && tryClickSelector("a.mdl-dismiss", modal);
|
||||
};
|
||||
|
||||
var tryCloseModal2 = function(){
|
||||
|
Loading…
Reference in New Issue
Block a user