Commit 2ec44bd6 authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil_vmi.js: TABLET and WIDE modes only in devel-mode

parent 8d1b7dc9
Pipeline #177205 passed with stages
in 17 minutes and 35 seconds
......@@ -134,10 +134,10 @@ VidjilVMI.prototype = {
},
select_mode: function() {
if(window.innerWidth <= 900) {
if(window.innerWidth <= 900 && devel_mode) {
if(this.mode !== VVMI_TABLET)
this.tablet_mode();
} else if(window.innerWidth >= 2150) {
} else if(window.innerWidth >= 2150 && devel_mode) {
if(this.mode !== VVMI_WIDE)
this.wide_mode();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment