Fix broken JS selector for category selector popup.
Also style category legend differently in no popups fallback. References #77
This commit is contained in:
parent
c3b4fe53e9
commit
1ca8c8fdf5
@ -840,8 +840,8 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
|
||||
{if $use_popups}
|
||||
if($('body').has('#serendipityEntry').size() > 0) {
|
||||
$('#select_category').click(function(e) {
|
||||
$('#edit_entry_metadata legend > button').click();
|
||||
$('#edit_entry_category').toggleClass('mfp-hide');
|
||||
$('#toggle_metadata').click();
|
||||
});
|
||||
}
|
||||
{else}
|
||||
|
@ -977,8 +977,8 @@ h2 {
|
||||
margin: 1.05em 0;
|
||||
}
|
||||
|
||||
h3,
|
||||
.js #edit_entry_category .wrap_legend {
|
||||
.js .mfp-wrap #edit_entry_category .wrap_legend,
|
||||
h3 {
|
||||
font-size: 1.28571em;
|
||||
line-height: 1.16667em;
|
||||
margin: 1.16667em 0;
|
||||
@ -1541,8 +1541,8 @@ form > .button_link:first-of-type,
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.mfp-content #s9y_links h3,
|
||||
.js #edit_entry_category .wrap_legend {
|
||||
.js .mfp-wrap #edit_entry_category .wrap_legend,
|
||||
.mfp-content #s9y_links h3 {
|
||||
border-bottom: 1px solid #aaa;
|
||||
display: block;
|
||||
margin-bottom: .583335em;
|
||||
|
Loading…
x
Reference in New Issue
Block a user