We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95de467 commit 62969e9Copy full SHA for 62969e9
core/src/main/resources/org/apache/spark/ui/static/sorttable.js
@@ -207,8 +207,8 @@ sorttable = {
207
208
hasInputs = (typeof node.getElementsByTagName == 'function') &&
209
node.getElementsByTagName('input').length;
210
-
211
- if (node.getAttribute("sorttable_customkey") != null) {
+
+ if (node.nodeType == 1 && node.getAttribute("sorttable_customkey") != null) {
212
return node.getAttribute("sorttable_customkey");
213
}
214
else if (typeof node.textContent != 'undefined' && !hasInputs) {
0 commit comments