Skip to content

Commit db708cf

Browse files
etpinardnielsenb-jf
authored andcommitted
lint: sub this -> self
1 parent 56f026d commit db708cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plots/mapbox/mapbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ proto.createMap = function(calcData, fullLayout, resolve, reject) {
9797

9898
// clear navigation container
9999
var className = constants.controlContainerClassName,
100-
controlContainer = this.div.getElementsByClassName(className)[0];
101-
this.div.removeChild(controlContainer);
100+
controlContainer = self.div.getElementsByClassName(className)[0];
101+
self.div.removeChild(controlContainer);
102102

103103
self.rejectOnError(reject);
104104

0 commit comments

Comments
 (0)