Skip to content

Commit 95240e2

Browse files
committed
🔪 clean navigation block
... navigation menu is now not included by default
1 parent 2d4fe9b commit 95240e2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/plots/mapbox/mapbox.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
109
'use strict';
1110

1211
var mapboxgl = require('mapbox-gl');
@@ -108,11 +107,6 @@ proto.createMap = function(calcData, fullLayout, resolve, reject) {
108107
boxZoom: false
109108
});
110109

111-
// clear navigation container
112-
var className = constants.controlContainerClassName;
113-
var controlContainer = self.div.getElementsByClassName(className)[0];
114-
self.div.removeChild(controlContainer);
115-
116110
// make sure canvas does not inherit left and top css
117111
map._canvas.style.left = '0px';
118112
map._canvas.style.top = '0px';

0 commit comments

Comments
 (0)