1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:45:56 +00:00

replace some theme-specific frontend hooks with theme options

This commit is contained in:
Andrew Dolgov
2010-01-15 11:46:20 +03:00
parent 8d66a48a6d
commit e71f261009
7 changed files with 27 additions and 28 deletions

View 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 } } );