kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Get rid of the obsolete link refreshing circuitry
We're going to redo links as macros and take advantage of that circuitryprint-window-tiddler
rodzic
2c20ef6aef
commit
c4f9efd894
|
@ -372,14 +372,6 @@ Arguments
|
|||
|
||||
*/
|
||||
WikiStore.prototype.refreshDomNode = function(node,tiddler) {
|
||||
// Process links
|
||||
if(node.className) {
|
||||
var classes = node.className.split(" ");
|
||||
if(classes.indexOf("tw-tiddlylink") !== -1) {
|
||||
var target = node.getAttribute("href");
|
||||
node.className = this.adjustClassesForLink(classes,target).join(" ");
|
||||
}
|
||||
}
|
||||
// Process macros
|
||||
var macro = node.getAttribute && node.getAttribute("data-tw-macro"),
|
||||
params = node.getAttribute && node.getAttribute("data-tw-params");
|
||||
|
|
Ładowanie…
Reference in New Issue