Commit inicial Ventas Productivo
This commit is contained in:
25
Metronic/assets/layouts/global/scripts/cookie-consent.js
Normal file
25
Metronic/assets/layouts/global/scripts/cookie-consent.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
Cookie consent init
|
||||
**/
|
||||
|
||||
var CookieConsent = function () {
|
||||
|
||||
var _init = function () {
|
||||
$('.mt-cookie-consent-bar').cookieBar({
|
||||
closeButton : '.mt-cookie-consent-btn'
|
||||
});
|
||||
};
|
||||
|
||||
return {
|
||||
init: function () {
|
||||
_init();
|
||||
}
|
||||
};
|
||||
|
||||
}();
|
||||
|
||||
if (App.isAngularJsApp() === false) {
|
||||
jQuery(document).ready(function() {
|
||||
CookieConsent.init();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user