mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Update footer to expand grey bar to bottom of page
This commit is contained in:
6
_site/js/article-page.js
Normal file
6
_site/js/article-page.js
Normal file
@@ -0,0 +1,6 @@
|
||||
$(document).ready(function(){
|
||||
// remove black bar if article has no content
|
||||
if (! $.trim($(".article-content").html())) {
|
||||
$(".article-content").hide();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user