File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4290,19 +4290,19 @@ Trace Moe | https://trace.moe/?url=#t#`;
42904290 if(!isrc)return;
42914291 isrc=self.canonicalUri(isrc);
42924292 if (self._dataCache[isrc]) return;
4293+ self._dataCache[isrc] = true;
42934294 self.londingImgNum++;
42944295 var nimg = new Image();
42954296 nimg.src = isrc;
42964297 nimg.onload=function(){
42974298 self.londingImgNum--;
42984299 self.pageImgReady();
42994300 var result = findPic(this);
4300- if (result && !self._dataCache[this.src] ) {
4301+ if (result) {
43014302 self.data.push(result);
43024303 self._appendThumbSpans([result]);
43034304 self.loadThumb();
43044305 }
4305- self._dataCache[this.src] = true;
43064306 };
43074307 nimg.onerror=function(){
43084308 self.londingImgNum--;
@@ -4380,19 +4380,19 @@ Trace Moe | https://trace.moe/?url=#t#`;
43804380 if(!isrc)return;
43814381 isrc=self.canonicalUri(isrc);
43824382 if (self._dataCache[isrc]) return;
4383+ self._dataCache[isrc] = true;
43834384 var nimg = new Image();
43844385 self.londingImgNum++;
43854386 nimg.src = isrc;
43864387 nimg.onload=function(){
43874388 self.londingImgNum--;
43884389 self.pageImgReady();
43894390 var result = findPic(this);
4390- if (result && !self._dataCache[this.src] ) {
4391+ if (result) {
43914392 self.data.push(result);
43924393 self._appendThumbSpans([result]);
43934394 self.loadThumb();
43944395 }
4395- self._dataCache[this.src] = true;
43964396 };
43974397 nimg.onerror=function(){
43984398 self.londingImgNum--;
You can’t perform that action at this time.
0 commit comments