Skip to content

Commit

Permalink
Merge pull request #5 from rajharsh18/main
Browse files Browse the repository at this point in the history
Removed the animation for mobile phone
  • Loading branch information
arjxn-py authored Feb 14, 2024
2 parents d5a6b66 + a7684b7 commit 1408d63
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 32 deletions.
1 change: 0 additions & 1 deletion 2024/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ <h1>Evaluation</h1>
</div>

<script defer async src="https://apply.devfolio.co/v2/sdk.js"></script>
<script type="text/javascript" src="js/mob-video.js"></script>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/zepto-fx.js"></script>
<script type="text/javascript" src="js/video.js"></script>
Expand Down
17 changes: 0 additions & 17 deletions 2024/js/mob-video.js

This file was deleted.

3 changes: 2 additions & 1 deletion 2024/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ $(document).ready(function() {
$spinner = $("#spinner");

// first visit and not mobile
if (width >= 0) {
// if (width >= 0) {
if (width >= 768) {
// https://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st
// Safari, in Private Browsing Mode, looks like it supports localStorage but all calls to setItem throw QuotaExceededError.
// try {
Expand Down
17 changes: 4 additions & 13 deletions 2024/stylesheets/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1408d63

Please sign in to comment.