Skip to content

Commit

Permalink
Fix for mobile redirecting #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Shitian Jin committed Jul 20, 2022
1 parent 222001d commit e277ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ var browser = navigator.userAgent.toLowerCase();
var isMobile = false;
for (var i=0; i<mobileAgent.length; i++){ if (browser.indexOf(mobileAgent[i])!=-1){ isMobile = true;
//alert(mobileAgent[i]);
location.href = "{{ url_for('m') }}";
location.href = "m";
break; } }

0 comments on commit e277ebf

Please sign in to comment.