Skip to content

Commit 6967b77

Browse files
committed
revise unnecessary 'that' use for 'this'
in this code, 'this' in the scope is correct this. no need to use 'that'
1 parent 44994e6 commit 6967b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/javascript/garden.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Page.prototype = {
158158
that.onResize();
159159
});
160160

161-
that.sections.map();
161+
this.sections.map();
162162
setTimeout(function() {
163163
that.sections.highlight();
164164
}, 10);

0 commit comments

Comments
 (0)