]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 Jul 2013 12:45:59 +0000 (12:45 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 Jul 2013 12:45:59 +0000 (12:45 +0000)
js/libs/fluidbook/fluidbook.support.js

index d1ba7eab01a3ea74b8c0121e0f8746a243a7c62e..b7e2bc27cab85dc3e27f745978311f65935f5f94 100644 (file)
@@ -107,6 +107,14 @@ FluidbookSupport.prototype = {
                }
        },
        getOrientation: function() {
+               try{
+                       if(this.fluidbook.pad && this.fluidbook.pad.enabled){
+                               return 0;
+                       }
+               }catch(err){
+                       
+               }
+
                try {
                        var mql = window.matchMedia("(orientation: portrait)");
                        if (mql.matches) {