Skip to content
Permalink
Browse files

Template update

  • Loading branch information...
noqqe committed Nov 2, 2017
1 parent 5ddf3ea commit 9e874a2d8a6305f5b1ae9a5c41c727f32d4ec483
Showing with 3 additions and 2 deletions.
  1. +3 −2 templates.py
@@ -144,8 +144,9 @@
var imageDoc = document.createElement('img'); addEvent(imageDoc, "load", function () {
var imageBox = document.createElement('article'); imageBox.appendChild(imageDoc);
var srcSpan = imageBox.appendChild(document.createElement('section')); srcSpan.className = 'src '+ crawler;
var srcA = srcSpan.appendChild(document.createElement('a')); srcA.href = srcA.innerHTML = srcA.innerText = this.src;
if ( typeof onReady == "function" ) { onReady(imageBox); } }); imageDoc.src = threadUri != "None" ? threadUri : uri; };
var srcA = srcSpan.appendChild(document.createElement('a'));
srcA.href = srcA.innerHTML = srcA.innerText = threadUri != "None" ? threadUri : this.src;
if ( typeof onReady == "function" ) { onReady(imageBox); } }); imageDoc.src = uri; };
np._pushImage = function (uri, crawler, threadUri) { if ( this._imageTarget ) {
this._mkImage(uri, crawler, threadUri, function (image) { var add = ( np._state == 0 ); if ( add ) {
np._images.push(image); np._imageTarget.insertBefore(image, np._imageTarget.firstChild);

0 comments on commit 9e874a2

Please sign in to comment.
You can’t perform that action at this time.