Sha256: 784d97e36d2444b3db091f7a74a688fb0d74f12b735950705b4867d1db7b5ad0

Contents?: true

Size: 329 Bytes

Versions: 28

Compression:

Stored size: 329 Bytes

Contents

(function($){

	$(document).ready(function (){
		footer.handleEvents();
	});

	var footer = {
		
		handleEvents : function(){
			$('body > footer .back-top').on('click', footer.backTop);		
		},

		backTop : function(e){
			$('body,html').animate({
				scrollTop: 0
			}, 500, 'swing');
			e.preventDefault();
		}
	};

})(jQuery);

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
iasd-bootstrap-sass-1.2.1 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.2.0 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.1.0 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.0.5 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.0.4 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.0.3 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.0.2 templates/project/lib/iasd_footer.js
iasd-bootstrap-sass-1.0.1 templates/project/lib/iasd_footer.js