Merge pull request #874 from andydale1982/U4-7323_(#871)‏

U4 7323 (#871)‏
This commit is contained in:
Claus
2015-11-25 10:51:41 +01:00
2 changed files with 23 additions and 3 deletions

View File

@@ -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";
}
);
}