Archived
1
0

fix url for image inline

This commit is contained in:
Jeff Becker
2016-04-30 08:32:28 -04:00
parent f9ab15e271
commit 115e2884c1
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ function setupInlineImage(thumb, url) {
function setupInlineImageIn(element) {
var thumbs = element.querySelectorAll("a.file");
for ( var i = 0 ; i < thumbs.length ; i++ ) {
var url = thumbs[i].children[0].src;
var url = thumbs[i].href;
if (filenameIsImage(url)) {
// match
console.log("matched url", url);