ep_comments_page 11.0.14 → 11.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "Adds comments on sidebar and link it to the text. For no-skin use ep_page_view.",
3
3
  "name": "ep_comments_page",
4
- "version": "11.0.14",
4
+ "version": "11.0.15",
5
5
  "author": {
6
6
  "name": "Nicolas Lescop",
7
7
  "email": "limplementeur@gmail.com"
@@ -334,10 +334,10 @@ EpComments.prototype.init = async function () {
334
334
  // Enable and handle cookies
335
335
  if (padcookie.getPref('comments') === false) {
336
336
  this.padOuter.find('#comments, #commentIcons').removeClass('active');
337
- $('#options-comments').attr('checked', 'unchecked');
338
- $('#options-comments').attr('checked', false);
337
+ $('#options-comments').prop('checked', false);
338
+ $('#options-comments').prop('checked', false);
339
339
  } else {
340
- $('#options-comments').attr('checked', 'checked');
340
+ $('#options-comments').prop('checked', true);
341
341
  }
342
342
 
343
343
  $('#options-comments').on('change', () => {