Welcome dialog: mobile css class is always added
Be sure to only do that when on mobile Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I0a4f803ce50ceb950b4d9f0bbc38f5629218393b
This commit is contained in:
parent
540a20675b
commit
242f00c8be
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ L.Map.include({
|
|||
showCloseButton: !hasDismissBtn,
|
||||
escapeButtonCloses: false,
|
||||
overlayClosesOnClick: false,
|
||||
className: 'vex-theme-plain vex-welcome-mobile',
|
||||
className: !window.mode.isMobile() ? 'vex-theme-plain' : 'vex-theme-plain vex-welcome-mobile',
|
||||
closeAllOnPopState: false,
|
||||
focusFirstInput: false, // Needed to avoid auto-scroll to the bottom
|
||||
buttons: !hasDismissBtn ? {} : [
|
||||
|
|
Loading…
Reference in a new issue