diff --git a/app/pub/scripts/klanviewer.js b/app/pub/scripts/klanviewer.js
index 6a0b497..93aaa13 100644
--- a/app/pub/scripts/klanviewer.js
+++ b/app/pub/scripts/klanviewer.js
@@ -167,7 +167,11 @@ function startpdfviewer(newcurr){
var detect = new MobileDetect(window.navigator.userAgent);
- if (category == 1 || detect.phone()){
+ if (category == 1){
+ embed = false;
+ }
+
+ if (detect.phone()){
embed = false;
}
diff --git a/app/views/layout.phtml b/app/views/layout.phtml
index 640a533..708b610 100644
--- a/app/views/layout.phtml
+++ b/app/views/layout.phtml
@@ -4,7 +4,7 @@
/base href="=SITE?>">
-
+