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

Revert "add experimental clientside headline clamping (refs #479)"

This reverts commit 26e4b12466.
This commit is contained in:
Andrew Dolgov
2012-08-10 15:02:18 +04:00
parent ab29de3251
commit d3253f49aa
3 changed files with 4 additions and 27 deletions

View File

@@ -1718,12 +1718,3 @@ function get_radio_checked(radioObj) {
}
return("");
}
function clamp_element(elem, height) {
if (elem && elem.offsetHeight > height) {
while (elem.offsetHeight > height)
elem.innerHTML = cp.innerHTML.substring(0, elem.innerHTML.length - 50);
elem.innerHTML += "…";
}
}