mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +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:
parent
2c20ef6aef
commit
c4f9efd894
@ -372,14 +372,6 @@ Arguments
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
WikiStore.prototype.refreshDomNode = function(node,tiddler) {
|
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
|
// Process macros
|
||||||
var macro = node.getAttribute && node.getAttribute("data-tw-macro"),
|
var macro = node.getAttribute && node.getAttribute("data-tw-macro"),
|
||||||
params = node.getAttribute && node.getAttribute("data-tw-params");
|
params = node.getAttribute && node.getAttribute("data-tw-params");
|
||||||
|
Loading…
Reference in New Issue
Block a user