Prechádzať zdrojové kódy

fix custom html loading message

causefx 8 rokov pred
rodič
commit
d169c90814
2 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 0 2
      api/functions/homepage-functions.php
  2. 1 0
      js/functions.js

+ 0 - 2
api/functions/homepage-functions.php

@@ -40,13 +40,11 @@ function buildHomepageItem($homepageItem){
 			break;
 		case 'homepageOrdercustomhtml':
 			if($GLOBALS['homepagCustomHTMLoneEnabled'] && qualifyRequest($GLOBALS['homepagCustomHTMLoneAuth']) ){
-				$item .= '<div class="white-box  animated zoomIn"><h2 class="text-center" lang="en">Loading Custom HTML...</h2></div>';
 				$item .= ($GLOBALS['customHTMLone'] !== '') ? $GLOBALS['customHTMLone'] : '';
 			}
 			break;
 		case 'homepageOrdercustomhtmlTwo':
 			if($GLOBALS['homepagCustomHTMLtwoEnabled'] && qualifyRequest($GLOBALS['homepagCustomHTMLtwoAuth']) ){
-				$item .= '<div class="white-box  animated zoomIn"><h2 class="text-center" lang="en">Loading Custom HTML...</h2></div>';
 				$item .= ($GLOBALS['customHTMLtwo'] !== '') ? $GLOBALS['customHTMLtwo'] : '';
 			}
 			break;

+ 1 - 0
js/functions.js

@@ -2187,6 +2187,7 @@ function buildRecent(array, type){
 					<div class="clearfix"></div>
 				</div>
                 <div class="panel-wrapper p-b-0 collapse in">
+					<div class="`+type+`-recent-hidden hidden"></div>
                     <div class="owl-carousel owl-theme recent-items `+type+`-recent">
 						`+buildRecentItem(array.content, type)+`
                     </div>