diff --git a/app/pub/scripts/klanviewer.js b/app/pub/scripts/klanviewer.js index dd0bb75..f41e5c6 100644 --- a/app/pub/scripts/klanviewer.js +++ b/app/pub/scripts/klanviewer.js @@ -171,18 +171,19 @@ function startpdfviewer(newcurr){ if (category == 1){ embed = false; } - elseif (category == 1){ + elseif (category == 3){ embed = true; } - if(isOpera){ - embed = true; - } if (detect.phone()){ embed = false; } + if(isOpera){ + embed = true; + } + if (embed){ diff --git a/app/views/layout.phtml b/app/views/layout.phtml index 63be185..5b651c0 100644 --- a/app/views/layout.phtml +++ b/app/views/layout.phtml @@ -4,7 +4,7 @@ "> - +