feat: use route for id

main
Barış Soner Uşaklı 3 years ago
parent be5ecde3cc
commit e4c7d29b4f

@ -28,7 +28,7 @@ define('persona/quickreply', [
// $('.textcomplete-wrapper').css('height', '100%').find('textarea').css('height', '100%');
var ready = true;
components.get('topic/quickreply/button').on('click', function(e) {
components.get('topic/quickreply/button').on('click', function (e) {
e.preventDefault();
if (!ready) {
return;
@ -54,7 +54,7 @@ define('persona/quickreply', [
message: data.message,
timeout: 10000,
clickfn: function () {
ajaxify.go(`/post-queue#${data.id}`);
ajaxify.go(`/post-queue/${data.id}`);
},
});
}

Loading…
Cancel
Save