Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15390352
D14021.id33906.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.id33906.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
Mar 16 2025, 6:08 AM (5 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7383316
Default Alt Text
D14021.id33906.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