Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15414964
D20343.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D20343.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -10,7 +10,7 @@
'conpherence.pkg.css' => '3c8a0668',
'conpherence.pkg.js' => '020aebcf',
'core.pkg.css' => '2dd936d6',
- 'core.pkg.js' => 'eb53fc5b',
+ 'core.pkg.js' => 'a747b035',
'differential.pkg.css' => '8d8360fb',
'differential.pkg.js' => '67e02996',
'diffusion.pkg.css' => '42c75c37',
@@ -498,7 +498,7 @@
'rsrc/js/core/behavior-select-on-click.js' => '66365ee2',
'rsrc/js/core/behavior-setup-check-https.js' => '01384686',
'rsrc/js/core/behavior-time-typeahead.js' => '5803b9e7',
- 'rsrc/js/core/behavior-toggle-class.js' => 'f5c78ae3',
+ 'rsrc/js/core/behavior-toggle-class.js' => '32db8374',
'rsrc/js/core/behavior-tokenizer.js' => '3b4899b0',
'rsrc/js/core/behavior-tooltip.js' => '73ecc1f8',
'rsrc/js/core/behavior-user-menu.js' => '60cd9241',
@@ -687,7 +687,7 @@
'javelin-behavior-stripe-payment-form' => '02cb4398',
'javelin-behavior-test-payment-form' => '4a7fb02b',
'javelin-behavior-time-typeahead' => '5803b9e7',
- 'javelin-behavior-toggle-class' => 'f5c78ae3',
+ 'javelin-behavior-toggle-class' => '32db8374',
'javelin-behavior-toggle-widget' => '8f959ad0',
'javelin-behavior-trigger-rule-editor' => '398fdf13',
'javelin-behavior-typeahead-browse' => '70245195',
@@ -1186,6 +1186,11 @@
'javelin-install',
'javelin-util',
),
+ '32db8374' => array(
+ 'javelin-behavior',
+ 'javelin-stratcom',
+ 'javelin-dom',
+ ),
34450586 => array(
'javelin-color',
'javelin-install',
@@ -2149,11 +2154,6 @@
'javelin-stratcom',
'javelin-dom',
),
- 'f5c78ae3' => array(
- 'javelin-behavior',
- 'javelin-stratcom',
- 'javelin-dom',
- ),
'f84bcbf4' => array(
'javelin-behavior',
'javelin-stratcom',
diff --git a/webroot/rsrc/js/core/behavior-toggle-class.js b/webroot/rsrc/js/core/behavior-toggle-class.js
--- a/webroot/rsrc/js/core/behavior-toggle-class.js
+++ b/webroot/rsrc/js/core/behavior-toggle-class.js
@@ -17,7 +17,7 @@
JX.behavior('toggle-class', function(config, statics) {
function install() {
JX.Stratcom.listen(
- ['touchstart', 'mousedown'],
+ 'click',
'jx-toggle-class',
function(e) {
e.kill();
@@ -29,15 +29,6 @@
}
});
- // Swallow the regular click handler event so e.g. Quicksand
- // click handler doesn't get a hold of it
- JX.Stratcom.listen(
- ['click'],
- 'jx-toggle-class',
- function(e) {
- e.kill();
- });
-
return true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 3:19 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7713292
Default Alt Text
D20343.diff (2 KB)
Attached To
Mode
D20343: Activate "jx-toggle-class" on click to fix broken mobile behavior
Attached
Detach File
Event Timeline
Log In to Comment