Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6ad20a5

Browse filesBrowse files
committed
lint: sub this -> self
1 parent 46bbbae commit 6ad20a5
Copy full SHA for 6ad20a5

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/plots/mapbox/mapbox.js

Copy file name to clipboardExpand all lines: src/plots/mapbox/mapbox.js
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.