Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Commit 79cd77a

Browse files
author
Ian Maffett
committed
better FF OS fix since it does not support flex box
1 parent 9cc5aa2 commit 79cd77a

File tree

6 files changed

+17
-13
lines changed

6 files changed

+17
-13
lines changed

appframework.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ if (!window.af || typeof(af) !== "function") {
22342234
return f;
22352235
};
22362236
/**
2237-
* $.query - a faster alertnative to $("div");
2237+
* $.query - a faster alternative to $("div");
22382238
```
22392239
$.query(".panel");
22402240
```

build/appframework.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! intel-appframework - v2.1.0 - 2014-03-25 */
1+
/*! intel-appframework - v2.1.0 - 2014-03-28 */
22

33
/**
44
* App Framework query selector class for HTML5 mobile apps on a WebkitBrowser.
@@ -2236,7 +2236,7 @@ if (!window.af || typeof(af) !== "function") {
22362236
return f;
22372237
};
22382238
/**
2239-
* $.query - a faster alertnative to $("div");
2239+
* $.query - a faster alternative to $("div");
22402240
```
22412241
$.query(".panel");
22422242
```

build/appframework.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ui/appframework.ui.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! intel-appframework - v2.1.0 - 2014-03-26 */
1+
/*! intel-appframework - v2.1.0 - 2014-03-28 */
22

33
/**
44
* af.actionsheet - an actionsheet for html5 mobile apps
@@ -3773,8 +3773,10 @@ if (!Date.now)
37733773
}
37743774
else if($.os.fennec){
37753775
that.ready(function(){
3776-
var tmpH=numOnly($("#header").height())+numOnly($("#navbar").height());
3777-
$("#content").css("height",window.innerHeight-tmpH);
3776+
window.addEventListener("deviceorientation",function(){
3777+
var tmpH=numOnly($("#header").height())+numOnly($("#navbar").height());
3778+
$("#content").css("height",window.innerHeight-tmpH);
3779+
});
37783780
});
37793781
}
37803782

build/ui/appframework.ui.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/appframework.ui.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@
140140
}
141141
else if($.os.fennec){
142142
that.ready(function(){
143-
var tmpH=numOnly($("#header").height())+numOnly($("#navbar").height());
144-
$("#content").css("height",window.innerHeight-tmpH);
143+
window.addEventListener("deviceorientation",function(){
144+
var tmpH=numOnly($("#header").height())+numOnly($("#navbar").height());
145+
$("#content").css("height",window.innerHeight-tmpH);
146+
});
145147
});
146148
}
147149

0 commit comments

Comments
 (0)