post-hover.js: enable overboard support

This commit is contained in:
Zankaria 2024-08-22 18:12:24 +02:00
parent c3e4d51d30
commit 89b7e8db7c

View file

@ -18,7 +18,7 @@
* any-hover or css media queries may return false negatives.
* Handle it by checking if the query is explicitly NOT supported.
*/
if ((active_page === 'thread' || active_page === 'index') && !window.matchMedia('(any-hover: none)').matches) {
if ((active_page === 'thread' || active_page === 'index' || active_page === 'ukko') && !window.matchMedia('(any-hover: none)').matches) {
$(document).ready(function () {
let isScreenSmall = false
/*