Bug in Animations Visualizer
Closed this issue · 1 comments
@fahdi
name: Bug report in Animations.js
about: 'Animations Visualizer'
title: 'Bug in Animations Visualizer'
labels: ''
assignees: ''
Bug Description
This bug is caused by line 3,4,5 in animations .js which are
if (window.location.pathname !== '/animations.html') { return; }
Due to these lines the Js files terminates at the start by returning nothing. This is because the url of the css visual learner is according to template fahdi.github.io/css-visual-learner/{file-name} and it doesn't matches the url mentioned in JS File.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://fahdi.github.io/css-visual-learner/animations.html'
- Click on 'apply animation' button or any button next to it. None of them will work.
Expected behavior
The Javascript file should run the animations on the page.
Desktop (please complete the following information):
- OS: Kali Linux
- Browser: Firefox
- Version 91.8.0
@AliCodingGuru Feel free to update the PR and open it again.