check mobile

This commit is contained in:
phyusin
2018-04-06 13:15:32 +06:30
parent 0b869ccb89
commit 818f441529
3 changed files with 7 additions and 13 deletions

View File

@@ -140,7 +140,11 @@
<script>
$(document).ready(function(){
var webview = <%= @webview %>;
if(webview){
code2lab.checkMobile(webview); //js func: for mobile login
}
showHideNavbar(webview,"index");
$(".tables").on('click', function(){
var dining_id = $(this).attr("data-id");
window.location.href = '/origami/table/' + dining_id;