GITLAB

SourceCode / smartzone-home

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • smartzone-home
  • ..
  • scripts
  • cookie-consent.js
  • 718ca9e6   วัน(ทศนิยม),comment,status Browse Code »
    trainee
    2018-07-03 14:38:43 +0700  
cookie-consent.js 423 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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(); 
    });
}