I have noticed FF, Chrome and Safari behaving such that if you intervene to the display property of an object, media query does not work anymore on that object property.
Such that, I have prepared a test html code, here it goes [1]...
Do you have any idea not to have this effect? I don't think translating css media query to javascript is not up to generality principles...
Shortly, I would like to change visibility of a DIV both with media query and with javascript when needed (if possible).
[1]: http://paste.ubuntu.com/1046784/ (test scenario)