1
0

Fix broken s9y_links popup.

References 
This commit is contained in:
Matthias Mees
2014-11-18 11:18:50 +01:00
parent 530dff515b
commit 154cbab69a
2 changed files with 9 additions and 2 deletions

@ -1202,8 +1202,13 @@ $(function() {
{if $use_backendpopups}
if($('#dashboard').length > 0) {
$('.toggle_links').click(function(e) {
e.preventDefault();
$('#s9y_links').toggleClass('mfp-hide');
// We might want to make this reuseable
e.preventDefault();
$('html, body').animate({
scrollTop: $($(this).attr('href')).offset().top
}, 1000);
});
}
{else}