Commit eebd752b authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Jérome Perrin

erp5_office_support_request_ui: accept smaller screens

parent 1fb070a2
...@@ -97,7 +97,6 @@ ...@@ -97,7 +97,6 @@
} }
} }
} }
if (modification_dict.hasOwnProperty("global")) { if (modification_dict.hasOwnProperty("global")) {
queue queue
.push(function () { .push(function () {
...@@ -136,7 +135,6 @@ ...@@ -136,7 +135,6 @@
return context.listenResize(); return context.listenResize();
}); });
} }
if ((this.state.global === true) && if ((this.state.global === true) &&
(modification_dict.hasOwnProperty("desktop") || (modification_dict.hasOwnProperty("desktop") ||
modification_dict.hasOwnProperty("editable") || modification_dict.hasOwnProperty("editable") ||
...@@ -251,7 +249,7 @@ ...@@ -251,7 +249,7 @@
event, event,
context = this; context = this;
function extractSizeAndDispatch() { function extractSizeAndDispatch() {
if (window.matchMedia("(min-width: 90em)").matches) { if (window.matchMedia("(min-width: 767px)").matches) {
return context.changeState({ return context.changeState({
desktop: true desktop: true
}); });
......
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