From 05a54ba054ab523c6d80ff75fb9a47e92e64e7f1 Mon Sep 17 00:00:00 2001 From: g8g3 Date: Mon, 21 Jul 2014 10:56:55 +0200 Subject: [PATCH] Assignment to writable property `style.height` instead of readonly `offsetHeight`. Fixes #196. --- converse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converse.js b/converse.js index 2fba66cc8..94cf7965e 100644 --- a/converse.js +++ b/converse.js @@ -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'; } }