disable pub/mark effects in CDM
This commit is contained in:
parent
0ecd24999f
commit
ace1a6da76
16
viewfeed.js
16
viewfeed.js
|
@ -411,8 +411,12 @@ function toggleMark(id) {
|
|||
vfeedu.innerHTML = (+vfeedu.innerHTML) - 1;
|
||||
}
|
||||
|
||||
Effect.Puff(mark_img, {duration : 0.25, afterFinish: tMark_afh_off});
|
||||
|
||||
if (document.getElementById("headlinesList")) {
|
||||
Effect.Puff(mark_img, {duration : 0.25, afterFinish: tMark_afh_off});
|
||||
} else {
|
||||
mark_img.src = "images/mark_unset.png";
|
||||
mark_img.alt = "Set mark";
|
||||
}
|
||||
}
|
||||
|
||||
var vfeedctr = document.getElementById("FEEDCTR--1");
|
||||
|
@ -477,8 +481,12 @@ function togglePub(id) {
|
|||
vfeedu.innerHTML = (+vfeedu.innerHTML) - 1;
|
||||
}
|
||||
|
||||
Effect.Puff(mark_img, {duration : 0.25, afterFinish: tPub_afh_off});
|
||||
|
||||
if (document.getElementById("headlinesList")) {
|
||||
Effect.Puff(mark_img, {duration : 0.25, afterFinish: tPub_afh_off});
|
||||
} else {
|
||||
mark_img.src = "images/pub_unset.png";
|
||||
mark_img.alt = "Publish";
|
||||
}
|
||||
}
|
||||
|
||||
var vfeedctr = document.getElementById("FEEDCTR--2");
|
||||
|
|
Loading…
Reference in New Issue