1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-02 10:13:16 +00:00

Get rid of the obsolete link refreshing circuitry

We're going to redo links as macros and take advantage of that circuitry
This commit is contained in:
Jeremy Ruston 2012-01-15 13:27:59 +00:00
parent 2c20ef6aef
commit c4f9efd894

View File

@ -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");