Removing most of javascript
This commit is contained in:
		
							
								
								
									
										25
									
								
								js/custom.js
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								js/custom.js
									
									
									
									
									
								
							| @@ -11,29 +11,8 @@ $(function () { | ||||
| 	 | ||||
| 	setTimeout(function () { | ||||
| 		$('.loader_bg').fadeToggle(); | ||||
| 	}, 1500); | ||||
| 	}, 1500);	 | ||||
| 	 | ||||
| 	/* Tooltip | ||||
| 	-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */ | ||||
| 	 | ||||
| 	$(document).ready(function(){ | ||||
| 		$('[data-toggle="tooltip"]').tooltip(); | ||||
| 	}); | ||||
| 	 | ||||
| 	 | ||||
| 	 | ||||
| 	/* Mouseover | ||||
| 	-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */ | ||||
| 	 | ||||
| 	$(document).ready(function(){ | ||||
| 		$(".main-menu ul li.megamenu").mouseover(function(){ | ||||
| 			if (!$(this).parent().hasClass("#wrapper")){ | ||||
| 			$("#wrapper").addClass('overlay'); | ||||
| 			} | ||||
| 		}); | ||||
| 		$(".main-menu ul li.megamenu").mouseleave(function(){ | ||||
| 			$("#wrapper").removeClass('overlay'); | ||||
| 		}); | ||||
| 	}); | ||||
|  | ||||
|  | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user
	 Pawel Dudzik
					Pawel Dudzik