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

js: code cleanup

This commit is contained in:
Andrew Dolgov
2010-11-16 13:10:57 +03:00
parent 8363f4e68b
commit 07bb58c721
2 changed files with 0 additions and 81 deletions

View File

@@ -433,40 +433,6 @@ function tPub(id) {
return togglePub(id);
}
function tMark_afh_off(effect) {
try {
var elem = effect.effects[0].element;
//console.log("tMark_afh_off : " + elem.id);
if (elem) {
elem.src = elem.src.replace("mark_set", "mark_unset");
elem.alt = __("Star article");
Element.show(elem);
}
} catch (e) {
exception_error("tMark_afh_off", e);
}
}
function tPub_afh_off(effect) {
try {
var elem = effect.effects[0].element;
//console.log("tPub_afh_off : " + elem.id);
if (elem) {
elem.src = elem.src.replace("pub_set", "pub_unset");
elem.alt = __("Publish article");
Element.show(elem);
}
} catch (e) {
exception_error("tPub_afh_off", e);
}
}
function toggleMark(id, client_only) {
try {
var query = "?op=rpc&id=" + id + "&subop=mark";