remove unused js

This commit is contained in:
Matthias Kretschmann 2016-01-16 20:35:12 +01:00
parent 6f310a94a7
commit 1fa765ba50
1 changed files with 0 additions and 19 deletions

View File

@ -3,14 +3,12 @@
$(document).ready(function(){
imgAttrRemover();
slider();
featuredFAQ();
marketplaces();
tourNav();
mobileNav();
stickyNav();
colourHover();
function tourNav() {
@ -85,22 +83,5 @@ $(document).ready(function(){
}
}, 250);
}
function colourHover() {
$('.team-member img').hover(
function(){
var hover = $(this).data('hover');
$(this).attr('src',hover);
},
function(){
var normal = $(this).data('regular');
$(this).attr('src',normal);
});
}
function imgAttrRemover() {
$('img').each(function(){
$(this).removeAttr('width');
$(this).removeAttr('height');
});
}
});