Untitled diff

Created Diff never expires
2 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
14 lines
2 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
14 lines
$(document).ready(function() {
$(document).ready(function() {
$(".custom-dropdown").hover(function() {
$(".custom-dropdown").hover(function() {
$(this).children("ul").slideDown(300)
$(this).children("ul").stop().slideDown(300)
}, function() {
}, function() {
$(this).children("ul").slideUp(300)
$(this).children("ul").stop().slideUp(300)
});
});
$('a[data-method="post"]').click(function(b) {
$('a[data-method="post"]').click(function(b) {
var a = $('<form method="post" action="' + $(this).attr("href") + '"></form>');
var a = $('<form method="post" action="' + $(this).attr("href") + '"></form>');
$("body").append(a);
$("body").append(a);
a.submit();
a.submit();
b.preventDefault();
b.preventDefault();
return false
return false
})
})
});
});