Skip to content

Commit

Permalink
Compatibility with WKWebView
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalikL committed Mar 1, 2022
1 parent 6dd77ec commit 3ddb48e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<html dir="auto">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/base.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/fonts.css" type="text/css" media="all" />
Expand Down
2 changes: 1 addition & 1 deletion js/ss-reader.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
timeout = null;

var userAgent = window.navigator.userAgent.toLowerCase(),
iOS = /iphone|ipod|ipad/.test(userAgent);
iOS = /iphone|ipod|macintosh|ipad/.test(userAgent);

$(function(){
window.ssReader = Class({
Expand Down

0 comments on commit 3ddb48e

Please sign in to comment.