Skip to content

Commit

Permalink
fix: #12372, fix manual digest buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Feb 27, 2024
1 parent b2a9881 commit 107f561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/src/admin/manage/digest.js
Expand Up @@ -5,7 +5,7 @@ define('admin/manage/digest', ['bootbox', 'alerts'], function (bootbox, alerts)
const Digest = {};

Digest.init = function () {
$('table').on('click', '[data-action]', function () {
$('.digest').on('click', '[data-action]', function () {
const action = this.getAttribute('data-action');
const uid = this.getAttribute('data-uid');

Expand Down
2 changes: 1 addition & 1 deletion src/views/admin/manage/digest.tpl
@@ -1,4 +1,4 @@
<div class="px-lg-4">
<div class="px-lg-4 digest">
<p class="lead">[[admin/manage/digest:lead]]</p>
<p>[[admin/manage/digest:disclaimer]]</p>
<p>[[admin/manage/digest:disclaimer-continued]]</p>
Expand Down

0 comments on commit 107f561

Please sign in to comment.