1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 08:51:28 +00:00

rework subtoolbar actions dropdown

This commit is contained in:
Andrew Dolgov
2009-01-20 18:46:21 +01:00
parent 3381c755be
commit bf3c98384d
5 changed files with 127 additions and 36 deletions

View File

@@ -2038,3 +2038,22 @@ function show_labels_in_headlines(transport) {
}
}
function toggleHeadlineActions() {
try {
var e = document.getElementById("headlineActionsBody");
var p = document.getElementById("headlineActionsDrop");
if (!Element.visible(e)) {
Element.show(e);
} else {
Element.hide(e);
}
e.style.left = (p.offsetLeft + 1) + "px";
// e.style.top = (p.offsetTop + p.offsetHeight - 1) + "px";
} catch (e) {
exception_error("toggleHeadlineActions", e);
}
}