summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-10 15:02:18 +0400
committerAndrew Dolgov <[email protected]>2012-08-10 15:02:18 +0400
commitd3253f49aa90a481c97f137987025e401d0b6b01 (patch)
tree6e58d747a0e3d7f16f7b543738e4f69f4471c253 /js/functions.js
parentab29de3251f4773c6c7e894ef16db16d8d5ae1e0 (diff)
Revert "add experimental clientside headline clamping (refs #479)"
This reverts commit 26e4b12466208b433fef35946cb61ef9b3e52e45.
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/functions.js b/js/functions.js
index 997d55a55..b2d79dc56 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -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 += "&hellip;";
- }
-}