Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17663046
D14021.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
426 B
Referenced Files
None
Subscribers
None
D14021.diff
View Options
diff --git a/webroot/rsrc/externals/javelin/lib/DOM.js b/webroot/rsrc/externals/javelin/lib/DOM.js
--- a/webroot/rsrc/externals/javelin/lib/DOM.js
+++ b/webroot/rsrc/externals/javelin/lib/DOM.js
@@ -310,7 +310,13 @@
}
}
- JX.copy(node, attr);
+ for (var k in attr) {
+ if (attr[k] === null) {
+ continue;
+ }
+ node[k] = attr[k];
+ }
+
if (content) {
JX.DOM.setContent(node, content);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 13, 5:29 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8405277
Default Alt Text
D14021.diff (426 B)
Attached To
Mode
D14021: Don't copy `null` attributes passed to JX.$N()
Attached
Detach File
Event Timeline
Log In to Comment