src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 398 d1883378b822
parent 397 eb54152c2cfa
child 418 06d2aa32c5f4
equal deleted inserted replaced
397:eb54152c2cfa 398:d1883378b822
   132     return;
   132     return;
   133 
   133 
   134   var matches = this._serializer.searchOccurences(searchString);
   134   var matches = this._serializer.searchOccurences(searchString);
   135 
   135 
   136   if (IriSP.countProperties(matches) > 0) {
   136   if (IriSP.countProperties(matches) > 0) {
   137     this._Popcorn.trigger("IriSP.SegmentsWidget.matchFound");
   137     this._Popcorn.trigger("IriSP.search.matchFound");
   138   } else {
   138   } else {
   139     this._Popcorn.trigger("IriSP.SegmentsWidget.noMatchFound");
   139     this._Popcorn.trigger("IriSP.search.noMatchFound");
   140   }
   140   }
   141 
   141 
   142   // un-highlight all the blocks
   142   // un-highlight all the blocks
   143   this.selector.children(".Ldt-iri-chapter").css("opacity", 0.1);
   143   this.selector.children(".Ldt-iri-chapter").css("opacity", 0.1);
   144  
   144