src/widgets/Annotation.js
branchnew-model
changeset 927 977a39c4ee80
parent 925 28efc97b5d78
child 957 4da0a5740b6c
child 1019 3ab36f402b0c
equal deleted inserted replaced
926:e47ed8eb75cd 927:977a39c4ee80
   130     } else {
   130     } else {
   131         this.$.find('.Ldt-Annotation-Inner').removeClass("Ldt-Annotation-isMashup");
   131         this.$.find('.Ldt-Annotation-Inner').removeClass("Ldt-Annotation-isMashup");
   132     }
   132     }
   133     if (typeof this.socialWidget !== "undefined") {
   133     if (typeof this.socialWidget !== "undefined") {
   134         this.socialWidget.updateUrls(_url, _text);
   134         this.socialWidget.updateUrls(_url, _text);
       
   135     } else {
       
   136         var _this = this;
       
   137         setTimeout(function() {
       
   138             if (typeof _this.socialWidget !== "undefined") {
       
   139                 _this.socialWidget.updateUrls(_url, _text);
       
   140             }
       
   141         },800);
   135     }
   142     }
   136     this.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Empty");
   143     this.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Empty");
   137 }
   144 }
   138 
   145 
   139 IriSP.Widgets.Annotation.prototype.hide = function() {
   146 IriSP.Widgets.Annotation.prototype.hide = function() {