equal
deleted
inserted
replaced
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 |