1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-27 20:45:15 +00:00

Revert "Merge pull request #1509 from welford/static_export_macro"

This reverts commit b2b8006b58, reversing
changes made to e7e16137b2.

@welford my apologies it turns out there are a couple of problems, I’ll
comment more on the pull request
This commit is contained in:
Jermolene
2015-02-20 18:39:13 +00:00
parent b2b8006b58
commit ead6eb00d4
3 changed files with 5 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ ImageWidget.prototype.render = function(parent,nextSibling) {
tiddler = this.wiki.getTiddler(this.imageSource);
if(!tiddler) {
// The source isn't the title of a tiddler, so we'll assume it's a URL
src = this.getVariable("tv-get-export-image-link",{params: [{name: "src",value: this.imageSource}],defaultValue: this.imageSource}) || this.imageSource;
src = this.imageSource;
} else {
// Check if it is an image tiddler
if(this.wiki.isImageTiddler(this.imageSource)) {