Login  Register

Re: Opera Web Browser Problem

Posted by miketaylr on Aug 08, 2011; 3:44pm
URL: https://support.nabble.com/Opera-Web-Browser-Problem-tp5632156p6664763.html

Hi Hugo,

I work for Opera, and yes I use Opera. :)

The fix to this bug is very simple--and in fact requires you to remove code, rather than add it. You just have to remove the browser sniffing from Nabble.getMyHeight() (at http://nabble.documentfoundation.org/Javascript.jtp?v=19), e.g., delete

  else if ($.browser.opera) return document.documentElement.clientHeight;

and then the
  return Math.max(document.body.scrollHeight, document.body.offsetHeight);

will return the correct value.

Feel free to email me at miket [[attttt]] opera.com if you have any further questions.