Commit 1d1769a8 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_js_style: fix removal of local style property

Use the removeProperty method.
parent 3a446bc6
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
function showPage() { function showPage() {
document.documentElement.hidden = false; document.documentElement.hidden = false;
document.documentElement.style.display = 'unset'; document.documentElement.style.removeProperty('display');
} }
// XXX Copy/paste from renderjs // XXX Copy/paste from renderjs
......
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