diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-25 17:43:20 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-25 17:43:20 -0400 |
| commit | 69474fee32c62e1b97b9f51b78a2e242542ae9a7 (patch) | |
| tree | f03569672f62ad251a38d1deb5d46152f1b54207 /public/js/transition.js | |
| parent | 379e44e7f1649ed2983e9167a7a4ac27303ed8d5 (diff) | |
| download | Project-NewTube-69474fee32c62e1b97b9f51b78a2e242542ae9a7.tar.gz Project-NewTube-69474fee32c62e1b97b9f51b78a2e242542ae9a7.tar.bz2 Project-NewTube-69474fee32c62e1b97b9f51b78a2e242542ae9a7.zip | |
Rewrite incoming
Diffstat (limited to 'public/js/transition.js')
| -rw-r--r-- | public/js/transition.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/public/js/transition.js b/public/js/transition.js deleted file mode 100644 index 25c62e1..0000000 --- a/public/js/transition.js +++ /dev/null @@ -1,24 +0,0 @@ -$(document).ready(function() { - $(".animsition").animsition({ - inClass: 'fade-in', - outClass: 'fade-out', - inDuration: 1500, - outDuration: 800, - linkElement: '.animsition-link', - // e.g. linkElement: 'a:not([target="_blank"]):not([href^="#"])' - loading: true, - loadingParentElement: 'body', //animsition wrapper element - loadingClass: 'animsition-loading', - loadingInner: '', // e.g '<img src="loading.svg" />' - timeout: true, - timeoutCountdown: 5000, - onLoadEvent: true, - browser: [ 'animation-duration', '-webkit-animation-duration'], - // "browser" option allows you to disable the "animsition" in case the css property in the array is not supported by your browser. - // The default setting is to disable the "animsition" in a browser that does not support "animation-duration". - overlay : false, - overlayClass : 'animsition-overlay-slide', - overlayParentElement : 'body', - transition: function(url){ window.location.href = url; } - }); -}); |
