src/widgets/Annotation.js
branchnew-model
changeset 927 977a39c4ee80
parent 925 28efc97b5d78
child 957 4da0a5740b6c
child 1019 3ab36f402b0c
--- a/src/widgets/Annotation.js	Wed Jul 11 18:22:57 2012 +0200
+++ b/src/widgets/Annotation.js	Thu Jul 12 15:30:34 2012 +0200
@@ -132,6 +132,13 @@
     }
     if (typeof this.socialWidget !== "undefined") {
         this.socialWidget.updateUrls(_url, _text);
+    } else {
+        var _this = this;
+        setTimeout(function() {
+            if (typeof _this.socialWidget !== "undefined") {
+                _this.socialWidget.updateUrls(_url, _text);
+            }
+        },800);
     }
     this.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Empty");
 }