Skip to content

Commit d0c7d54

Browse files
author
Erwin Dondorp
committed
eqeqeq
1 parent feec224 commit d0c7d54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

saltgui/static/hilitor/hilitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function Hilitor(start, id, tag)
9797
for(var i=0; i < node.childNodes.length; i++)
9898
this.hiliteWords(node.childNodes[i]);
9999
}
100-
if(node.nodeType == 3) { // NODE_TEXT
100+
if(node.nodeType === 3) { // NODE_TEXT
101101
// limit the number of highlighted matches to 25 otherwise the DOM grows rediculously
102102
// and performance drops with it. and it is still a good first indication.
103103
let nv, regs;

saltgui/static/sorttable/sorttable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class SortTable {
168168
each sort function takes two parameters, a and b
169169
you are comparing a[0] and b[0] */
170170
static sort_alpha (a,b) {
171-
if (a[0]==b[0]) return 0;
171+
if (a[0]===b[0]) return 0;
172172
if (a[0]<b[0]) return -1;
173173
return 1;
174174
}

0 commit comments

Comments
 (0)