Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
5 lars 1
/**
2
Cookie consent init
3
**/
4
 
5
var CookieConsent = function () {
6
 
7
    var _init = function () {
8
        $('.mt-cookie-consent-bar').cookieBar({
9
            closeButton : '.mt-cookie-consent-btn'
10
        });
11
    };
12
 
13
    return {
14
        init: function () {
15
            _init();
16
        }
17
    };
18
 
19
}();
20
 
21
if (App.isAngularJsApp() === false) {
22
    jQuery(document).ready(function() {
23
       CookieConsent.init();
24
    });
25
}