1
0

Fix broken s9y_links popup.

References #227
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

View File

@ -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}

View File

@ -988,6 +988,7 @@ input[type=checkbox],
.media_choose figure,
.media_file_metadata dt,
#serendipity_comments_list details,
#dashboard > #s9y_links,
.configure_plugin .cke {
clear: both;
}
@ -1653,7 +1654,8 @@ form > .button_link:first-of-type,
}
.mfp-content #edit_entry_category,
.mfp-content #edit_entry_freetags {
.mfp-content #edit_entry_freetags,
.mfp-content #s9y_links {
background: #fcfcfc;
margin: 0 auto;
padding: 0 2em;