diff --git a/dist/js/demo.js b/dist/js/demo.js index fe038be61..81170f08f 100644 --- a/dist/js/demo.js +++ b/dist/js/demo.js @@ -10,6 +10,13 @@ (function ($) { 'use strict' + setTimeout(() => { + if (window.___browserSync___ === undefined) { + // eslint-disable-next-line no-alert + alert('You load AdminLTE\'s "demo.js", \nthis file is only created for testing purposes!') + } + }, 1000) + function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1) }