Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a button to take user to top when page is scrolled down (closes #…
…108) * Added a button to take user to top when page is scrolled down * Updated util.js 1. String made to single quotes. 2. Used a var for transition time. 3. Length of 140 chars reduced. * Removed the flickering of button * Added space after comment * Removed trailing space * Changes made as discussed * Removed the fadeIn and fadeOut effect and made changes as discussed * Removed the fadeIn and fadeOut effect and made changes as discussed * Added a button to take user to top when page is scrolled down * Updated util.js 1. String made to single quotes. 2. Used a var for transition time. 3. Length of 140 chars reduced. * Removed the flickering of button * Added space after comment * Removed trailing space * Changes made as discussed * Removed the fadeIn and fadeOut effect and made changes as discussed * Removed the fadeIn and fadeOut effect and made changes as discussed * Changes as per the request changes thread * Removed trailing space in util.js * Removed extra line in util.js * Removed .DS_Store finally * Changed variable name of AMOUNT_SCROLLED * Variable name changed * Removed .DS_Store from .gitignore * Modified var name to BACK_TO_TOP_ACTIVATION_HEIGHT * Removed extra line in .gitignore * Change primary to default button for goToTop button * Change opacity to 0.5 * Add method chaining for removeClass and addClass for backToTop button * Add indentation at chaining methods * Add classes hidden-xs and -sm to html element, modify JS * Refactor logic for button display * Modify logic with toggleClass * Remove display: none for backToTop as we add hide class on load
- Loading branch information