Merge pull request #1531 from vinyldarkscratch/master
Mobile (iOS) flash dismissal fix
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
*.orig
|
||||
Thumbs.db
|
||||
.DS_Store
|
||||
*.DS_Store
|
||||
index.yaml
|
||||
routes.py
|
||||
logging.conf
|
||||
|
||||
@@ -168,7 +168,8 @@
|
||||
* and require no dom manipulations
|
||||
*/
|
||||
var doc = $(document);
|
||||
doc.on('click', '.w2p_flash', function () {
|
||||
doc.on('click', '.w2p_flash', function (event) {
|
||||
event.preventDefault();
|
||||
var t = $(this);
|
||||
if (t.css('top') == '0px') t.slideUp('slow');
|
||||
else t.fadeOut();
|
||||
|
||||
@@ -168,7 +168,8 @@
|
||||
* and require no dom manipulations
|
||||
*/
|
||||
var doc = $(document);
|
||||
doc.on('click', '.w2p_flash', function () {
|
||||
doc.on('click', '.w2p_flash', function (event) {
|
||||
event.preventDefault();
|
||||
var t = $(this);
|
||||
if (t.css('top') == '0px') t.slideUp('slow');
|
||||
else t.fadeOut();
|
||||
|
||||
@@ -168,7 +168,8 @@
|
||||
* and require no dom manipulations
|
||||
*/
|
||||
var doc = $(document);
|
||||
doc.on('click', '.w2p_flash', function () {
|
||||
doc.on('click', '.w2p_flash', function (event) {
|
||||
event.preventDefault();
|
||||
var t = $(this);
|
||||
if (t.css('top') == '0px') t.slideUp('slow');
|
||||
else t.fadeOut();
|
||||
|
||||
Reference in New Issue
Block a user