Add header only if there isn't one already
This commit is contained in:
@@ -10,7 +10,9 @@ function viewport() {
|
|||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
$('body').prepend( '<div class="sp-header"></div>' );
|
if ( ! $('.sp-header').size() ) {
|
||||||
|
$('body').prepend( '<div class="sp-header sp-header-loaded"></div>' );
|
||||||
|
}
|
||||||
|
|
||||||
/* Countdown */
|
/* Countdown */
|
||||||
$("[data-countdown]").each(function() {
|
$("[data-countdown]").each(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user