XF 2.0 Way to disable Preview

sip

Active member
Want to disable "Preview" (the pop up when a user hovers mouse over thread title). Can this be done or will need an Add on?
 
In the template thread_list_macros you can find and remove the following:
HTML:
data-xf-init="{{ $canPreview ? 'preview-tooltip' : '' }}" data-preview-url="{{ $canPreview ? link('threads/preview', $thread) : '' }}"
 
  • Like
Reactions: sip
Back
Top Bottom