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:
@@ -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 += "…";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user