From c4f9efd894b1d28931a96629842d26614273bd6b Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 15 Jan 2012 13:27:59 +0000 Subject: [PATCH] Get rid of the obsolete link refreshing circuitry We're going to redo links as macros and take advantage of that circuitry --- js/WikiStore.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/WikiStore.js b/js/WikiStore.js index ff6a0bcbf..5a0d54bbb 100755 --- a/js/WikiStore.js +++ b/js/WikiStore.js @@ -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");