##// END OF EJS Templates
fix tagName comparison
MinRK -
Show More
@@ -26,7 +26,7 b' IPython.security = (function (IPython) {'
26 }
26 }
27
27
28 for (var i = a.length - 1; i >= 0; i--) {
28 for (var i = a.length - 1; i >= 0; i--) {
29 if (a[i].tagName && b[i].tagName && a[i].tagName.toLowerCase() != b[i].tagName.toLowerCase()) {
29 if ((a[i].tagName || '').toLowerCase() != (b[i].tagName || '').toLowerCase()) {
30 return false;
30 return false;
31 }
31 }
32 }
32 }
General Comments 0
You need to be logged in to leave comments. Login now