]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
replace some theme-specific frontend hooks with theme options
[tt-rss.git] / functions.js
index 7a43212dce3c76dad0fe1765b723453fd913ff40..0c4eaf353760d89990a956cc4b3665819fcf14a0 100644 (file)
@@ -526,8 +526,8 @@ function parse_counters(reply, scheduled_call) {
                                                
                                        }
 
-                                       if (row_needs_hl && getInitParam("theme") != 'neon' &&
-                                                       getInitParam("theme") != 'lejla') { 
+                                       if (row_needs_hl && 
+                                                       !getInitParam("theme_option").match('no_highlights')) { 
                                                new Effect.Highlight(feedr, {duration: 1, startcolor: "#fff7d5",
                                                        queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } );