Skip to content

Commit

Permalink
Update JS template
Browse files Browse the repository at this point in the history
Fix #10
  • Loading branch information
jelicanin authored Jan 7, 2019
1 parent 9f8af7a commit 5faa6db
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions templates/CookiePolicyJSSnippet.ss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$(document).ready(function() {
$('body').cookieNotify({btnText: '$CookiePolicyButtonTitle', text: '$CookiePolicyDescription.RAW', position: '$CookiePolicyPosition'});
});
(function ($) {
$(document).ready(function() {
$('body').cookieNotify({btnText: '$CookiePolicyButtonTitle', text: '$CookiePolicyDescription.RAW', position: '$CookiePolicyPosition'});
});
}(jQuery));

0 comments on commit 5faa6db

Please sign in to comment.