Skip to content

Commit

Permalink
Calling isMobile on the proper object. The API had moved from AFRAME.…
Browse files Browse the repository at this point in the history
…utils.isMobile to AFRAME.utils.device.isMobile (aframevr#2084)
  • Loading branch information
dmarcos authored Nov 11, 2016
1 parent b56878f commit 5f32534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/showcase/wikipedia/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script src="../../../dist/aframe.js"></script>
<script src="../../test/shaders/shaders/sky.js"></script>
<script type="text/javascript">
if (AFRAME.utils.isMobile()) {
if (AFRAME.utils.device.isMobile()) {
window.location = "indexMobile.html";
}
</script>
Expand Down

0 comments on commit 5f32534

Please sign in to comment.