mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Enable selecting text in Differential shield and gap
Test Plan: Selected text in shield. Selected text in right side. Reviewers: epriestley, btrahan Reviewed By: btrahan CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3522
This commit is contained in:
parent
3df0cfa641
commit
65bbd24974
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ JX.behavior('differential-user-select', function() {
|
||||||
var unselectable;
|
var unselectable;
|
||||||
|
|
||||||
function isOnRight(node) {
|
function isOnRight(node) {
|
||||||
return node.parentNode.firstChild != node.previousSibling;
|
return node.previousSibling &&
|
||||||
|
node.parentNode.firstChild != node.previousSibling;
|
||||||
}
|
}
|
||||||
|
|
||||||
JX.Stratcom.listen(
|
JX.Stratcom.listen(
|
||||||
|
|
Loading…
Reference in a new issue