Re: Quick reply, FF 18, W7 - code tags bug, WYSIWYG mode
Reply #4 –
K testing.
/**
* Determine if the browser is OperaMobi or not
* @return boolean true if the browser is OperaMobi otherwise false
*/
function isOperaMobi()
{
if (!isset($this->_browsers['is_opera_mobi']))
$this->_browsers['is_opera_mobi'] = stripos($_SERVER['HTTP_USER_AGENT'], 'opera mobi') !== false;
if ($this->_browsers['is_opera_mobi'])
$this->_is_mobile = true;
return $this->_browsers['is_opera_mini'];
}
Yup. Seems to be fine now.