Skip to content

Commit

Permalink
disabled wow.js for mobile phones
Browse files Browse the repository at this point in the history
  • Loading branch information
papachristoumarios committed Nov 18, 2017
1 parent 28927f6 commit f7ef472
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 6 additions & 3 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,10 +789,13 @@ module.exports = __webpack_require__(37);

__webpack_require__(10);

var WOW = __webpack_require__(36);
window.WOW = new WOW.WOW({ live: false });
if (!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))) {

window.WOW.init();
var WOW = __webpack_require__(36);
window.WOW = new WOW.WOW({ live: false });
window.WOW.init();

}

/* DISABLE Vue.js until it is needed

Expand Down
3 changes: 1 addition & 2 deletions serve_lan.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

export PORT="80"
export PORT="1000"
export IP="$(hostname -I | cut -d' ' -f1)"
echo $PORT
sudo php artisan serve --host $IP --port $PORT

0 comments on commit f7ef472

Please sign in to comment.