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

Fixes #196.
This commit is contained in:
g8g3 2014-07-21 10:56:55 +02:00
parent d3a6a4bc07
commit 05a54ba054

View File

@ -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';
}
}