Commit 05a54ba0 authored by g8g3's avatar g8g3

Assignment to writable property `style.height` instead of readonly `offsetHeight`.

Fixes #196.
parent d3a6a4bc
......@@ -104,7 +104,7 @@
if ($.browser.webkit) {
var conversejs = document.getElementById('conversejs');
conversejs.style.display = 'none';
conversejs.offsetHeight = conversejs.offsetHeight; // no need to store this anywhere, the reference is enough
conversejs.style.height = conversejs.offsetHeight;
conversejs.style.display = 'block';
}
}
......
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