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 commitb2b8006b58, reversing changes made toe7e16137b2. @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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user