mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fix javaScript error screen.orientation.lock is not available
This commit is contained in:
parent
f9a490aea5
commit
4b43cd89d2
@ -16,7 +16,7 @@ egw_LAB.wait(function()
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
// lock the device orientation in portrait view
|
||||
if (screen.orientation) screen.orientation.lock('portrait');
|
||||
if (screen.orientation && typeof screen.orientation.lock == 'function') screen.orientation.lock('portrait');
|
||||
|
||||
function do_social(_data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user