Skip to content
Permalink
Browse files

issue #987 replace H2 by H1 only if H2 is available

  • Loading branch information...
plegall committed May 28, 2019
1 parent 692120c commit 99351c589836ba186306b5dc73f521c33d21cb75
Showing with 3 additions and 2 deletions.
  1. +3 −2 admin/themes/default/template/admin.tpl
@@ -39,8 +39,9 @@ jQuery(document).ready(function() {
}
}

var page_title = jQuery('h2').html();
jQuery('h1').html(page_title);
if (jQuery('h2').length > 0) {
jQuery('h1').html(jQuery('h2').html());
}
});
{/footer_script}

0 comments on commit 99351c5

Please sign in to comment.
You can’t perform that action at this time.