Redesign user tasks
[blerg.git] / www / js / blerg.js
index 6d555b8..fc93a5e 100644 (file)
@@ -721,25 +721,6 @@ function unsubscribe() {
     });
 }
 
-var resizePostContentTimeout = null;
-function resizePostContent() {
-    if (resizePostContentTimeout)
-        clearTimeout(resizePostContentTimeout);
-    resizePostContentTimeout = setTimeout(function() {
-        var c = $('post.content');
-        var lines = Math.floor(c.value.length / (100 * (c.clientWidth / 1000))) + 1;
-        var m = c.value.match(/\r?\n/g);
-        if (m)
-            lines += m.length;
-        if (lines <= 3) {
-            c.style.height = "";
-        } else {
-            c.style.height = (lines * 17) + "pt";
-        }
-        resizePostContentTimeout = null;
-    }, 150);
-}
-
 var tickerTimer = null;
 var tickerHead, tickerTail;
 
@@ -816,20 +797,6 @@ function loadLatest() {
     });
 }
 
-function qlink(loc) {
-    if (loc) {
-        location.hash = loc;
-    } else if (event && event.target) {
-        location.href = event.target.href;
-    } else {
-        // Bogus qlink
-        return;
-    }
-    lastHash = location.hash;
-    urlSwitch();
-    return false;
-}
-
 function ExternalURLPost(m) {
     this.title = decodeURIComponent(m[1]).replace(']','').replace('[','');
     this.url = decodeURIComponent(m[2]);