summaryrefslogtreecommitdiff
path: root/static/js/pichat.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/pichat.js')
-rw-r--r--static/js/pichat.js15
1 files changed, 13 insertions, 2 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 08054e7..5fd0de8 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -445,7 +445,7 @@ function removeOldMessages(){
}
}
-window.TextEnabled = Preferences.getProperty("chat.textEnabled", "true") == "ok";
+window.TextEnabled = Preferences.getProperty("chat.textEnabled", "true") == "true";
window.ImgsEnabled = Preferences.getProperty("chat.imgsEnabled", "true") == "true";
function muteSelector() {
@@ -547,7 +547,6 @@ function dragTarget (target, callbacks) {
}
base.enter = function(e){
base.target.classList.add('over');
- console.log(e.target);
if ('enter' in callbacks) {
callbacks.enter(Drag.url);
}
@@ -985,6 +984,18 @@ function initLogThumb(selector, parentSelector) {
}
})
}
+
+function load_favs(){
+ $(function(){
+ $(".permalink").each(function(){
+ var $div = $("<div>");
+ $div.load(this.href + " .faver-list");
+ $div.insertBefore($(this).parent())
+ })
+ })
+}
+
+
// Messages