mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
wait for device ready before doing viewport stuff
This commit is contained in:
@@ -125,7 +125,7 @@ function viewportTagUpdate() {
|
||||
viewportTag.content = props.join(', ');
|
||||
}
|
||||
|
||||
ionic.DomUtil.ready(function() {
|
||||
ionic.Platform.ready(function() {
|
||||
viewportLoadTag();
|
||||
|
||||
window.addEventListener("orientationchange", function(){
|
||||
|
||||
Reference in New Issue
Block a user