Created
May 5, 2017 09:39
-
-
Save koentjuh1/88af4b41e598c44a8a83e20d1eba95dd to your computer and use it in GitHub Desktop.
Disable scroll mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mobile_detect = new Mobile_Detect(); | |
?> | |
<?php | |
if($mobile_detect->isMobile() || $mobile_detect->isTablet()) | |
{ | |
} else { | |
?> | |
<div class="disable-scroll"> | |
<div class="btn activate-layer"><?=LANG_MAPS_BEKIJK_KAART?></div> | |
</div> | |
<?php | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment