Fixed [#33050]

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33050&start=8275
Added conditions which allowed JFactory::getApplication()->client->mobile; to detect mobile platform successfully but failed here.