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