[BUGFIX] Map position responsive
This commit is contained in:
parent
8c4978172b
commit
ae15666e1a
@ -27,9 +27,9 @@ define(function () {
|
||||
sidebar.appendChild(container);
|
||||
|
||||
self.getWidth = function getWidth() {
|
||||
if (gridBreakpoints.lg[0] < window.innerWidth) {
|
||||
if (gridBreakpoints.lg[0] > window.innerWidth) {
|
||||
return 0;
|
||||
} else if (gridBreakpoints.xl[0] < window.innerWidth) {
|
||||
} else if (gridBreakpoints.xl[0] > window.innerWidth) {
|
||||
return gridBreakpoints.lg[1];
|
||||
}
|
||||
return gridBreakpoints.xl[1];
|
||||
|
Loading…
Reference in New Issue
Block a user