seminar2/app/assets/stylesheets/seminar/content_style/12/js/content.js

7 lines
278 B
JavaScript
Raw Normal View History

2021-06-17 10:07:43 +00:00
$(document).ready(function(){
$('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){
if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){
$(h3).after("<hr class=\"seminar_hr\">")
}
})
})