Commit e6e104de authored by Clément's avatar Clément

use 'hidden' attribute

parent 04ea601a
......@@ -47,7 +47,7 @@
router.display();
}
activate() {
this.view.style.removeProperty('display');
this.view.removeAttribute('hidden')
this.setAttribute('active', '');
this.updateResource();
......@@ -56,7 +56,7 @@
this.updateSubrouter(router);
}
hide() {
this.view.style.display = 'none';
this.view.setAttribute('hidden', '')
this.removeAttribute('active');
}
}
......
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