[extensions-web] uploader: Fix in WebKit
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] uploader: Fix in WebKit
- Date: Sun, 3 Jun 2012 02:29:42 +0000 (UTC)
commit e49bc0f1ea45ff2493e14ba5a178ad02ecab40d3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Jun 2 22:29:02 2012 -0400
uploader: Fix in WebKit
This bubbling thing is annoying.
https://bugzilla.gnome.org/show_bug.cgi?id=677287
sweettooth/static/js/uploader.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/sweettooth/static/js/uploader.js b/sweettooth/static/js/uploader.js
index 4cf0335..9a14a91 100644
--- a/sweettooth/static/js/uploader.js
+++ b/sweettooth/static/js/uploader.js
@@ -64,11 +64,7 @@ define(['jquery'], function($) {
});
$elem.on('click', function(e) {
- var bubbledFromInput = $input.index(e.target) >= 0;
- if (!bubbledFromInput)
- $input.get(0).click();
-
- return false;
+ $input.get(0).click();
});
};
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]