Skip to content

Commit

Permalink
fix(site): fix the 'Why We Use Cookies' message (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyAlexeev authored Nov 29, 2018
1 parent d697bd7 commit 3e66474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3 class="logo-product">{{page.product_name}}</h3>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.1.4/js.cookie.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.0/js.cookie.min.js"></script>

<script src="{{site.baseurl}}/js/tracking.js?v={{ site.time | date: '%s' }}"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion site/js/tracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var trackingCookie = (function () {
<div class="container">\
<div class="title"><strong>Why We Use Cookies</strong></div>\
<div class="text">This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress’ <a href="https://www.devexpress.com/AboutUs/privacy-policy.xml" target="_blank">privacy policy</a> and <a href="https://www.devexpress.com/AboutUs/cookie-policy.xml" target="_blank">cookie policy</a>.</div>\
<div class="cookie-policy-button btn btn-default btn-lg" onclick="document.cookie = \'' + cookieKey + '=\' + escape(new Date()) + \';expires=\' + new Date(2100, 0, 1).toGMTString() + \';path=/\'; $(\'.cookie-policy\').remove();">I Understand</div>\
<div class="cookie-policy-button btn btn-default btn-lg" onclick="document.cookie = \'' + cookieKey + '=\' + new Date().getTime().toString() + \';expires=\' + new Date(2100, 0, 1).toGMTString() + \';path=/\'; $(\'.cookie-policy\').remove();">I Understand</div>\
</div>\
</div>');
}
Expand Down

0 comments on commit 3e66474

Please sign in to comment.