Ticket #458: ticket458.patch

File ticket458.patch, 378 bytes (added by MartinBudden, 4 years ago)
  • js/Utilities.js

     
    4949                if(fields) 
    5050                        btn.setAttribute("tiddlyFields",fields); 
    5151        } 
     52        if(!isStatic) 
     53                btn.href = document.location.href.split("#")[0] + "#" + encodeURIComponent("[[" + title + "]]"); 
    5254        return btn; 
    5355} 
    5456