fix url for image inline

This commit is contained in:
Jeff Becker committed 2016-04-30 08:32:28 -04:00
1 parent f9ab15e271
commit 115e2884c1
2 files changed
+2 -2

No files matched your search

+1 -1
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);