storage/templates/launchpad-starter-v2/sr/sr-templates/sr-assets/js/launchpad-load.js
// Function to load a given css file
Function to load a given css file
Function to load a given css file
function loadCSS(href) {
		if($.inArray( href, cssLoaded )==-1){
			var cssLink = $("<link rel='stylesheet' type='text/css' href='" + launchPadPath + href + "'>");
			$(cssLink).insertBefore( $("head link:last-child") );
			cssLoaded.push(launchPadPath + href);
			console.log(cssLoaded);
		}
	}
function loadCSS ( href ) { if ( $ . inArray ( href , cssLoaded ) == - 1 ) { var cssLink = $ ( "<link rel='stylesheet' type='text/css' href='" + launchPadPath + href + "'>" ) ; $ ( cssLink ) . insertBefore ( $ ( "head link:last-child" ) ) ; cssLoaded . push ( launchPadPath + href ) ; console . log ( cssLoaded ) ; } }
Function to load a given css file
Function to load a given css file