Skip to content

Node.js based forum software built for the modern web

feat: add cancel button to pin expiration modal

Julian Lame1432caf9276
diff --git a/public/src/client/topic/threadTools.js b/public/src/client/topic/threadTools.js
index 1cc5bf32f3..6a6b03d372 100644
--- a/public/src/client/topic/threadTools.js
+++ b/public/src/client/topic/threadTools.js
@@ -215,6 +215,10 @@ define('forum/topic/threadTools', [
onEscape: true,
size: 'small',
buttons: {
+ cancel: {
+ label: '[[modules:bootbox.cancel]]',
+ className: 'btn-link',
+ },
save: {
label: '[[global:save]]',
className: 'btn-primary',