U4 7323 (#871)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
LazyLoad.js( [
|
||||
try {
|
||||
LazyLoad.js([
|
||||
'lib/jquery/jquery.min.js',
|
||||
/* 1.1.5 */
|
||||
'lib/angular/1.1.5/angular.min.js',
|
||||
@@ -13,5 +14,11 @@ LazyLoad.js( [
|
||||
jQuery(document).ready(function () {
|
||||
angular.bootstrap(document, ['ngSanitize', 'umbraco.install', 'umbraco.directives.validation']);
|
||||
});
|
||||
});
|
||||
}
|
||||
catch (err) {
|
||||
if (err.message == 'LazyLoad is not defined') {
|
||||
document.getElementById("feedback").style.display = "none";
|
||||
document.getElementById("missinglazyload").style.display = "block";
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user