Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15391592
D10843.id26025.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
573 B
Referenced Files
None
Subscribers
None
D10843.id26025.diff
View Options
diff --git a/webroot/rsrc/js/application/differential/behavior-keyboard-nav.js b/webroot/rsrc/js/application/differential/behavior-keyboard-nav.js
--- a/webroot/rsrc/js/application/differential/behavior-keyboard-nav.js
+++ b/webroot/rsrc/js/application/differential/behavior-keyboard-nav.js
@@ -242,6 +242,10 @@
function inline_op(node, op) {
+ // nothing selected
+ if (!node) {
+ return;
+ }
if (!JX.DOM.scry(node, 'a', 'differential-inline-' + op)) {
// No link for this operation, e.g. editing a comment you can't edit.
return;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 10:40 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706732
Default Alt Text
D10843.id26025.diff (573 B)
Attached To
Mode
D10843: diffusion / differential - better handle case where no comment selected
Attached
Detach File
Event Timeline
Log In to Comment