diff --git a/pd/nw/dialog_search.html b/pd/nw/dialog_search.html index 63fa94949f57308b41bb8d79b3f91f213f115689..958d40810304cd93a0726e4d025d70a1d86d50bc 100644 --- a/pd/nw/dialog_search.html +++ b/pd/nw/dialog_search.html @@ -321,8 +321,8 @@ function doc_search() { div = document.createElement("div"); a = document.createElement("a"); a.href = "javascript: pdgui.doc_open('" + - defunkify_windows_path(path.dirname(doc.path)) + "', '" + - defunkify_windows_path(path.basename(doc.path)) + "');" + pdgui.defunkify_windows_path(path.dirname(doc.path)) + "', '" + + pdgui.defunkify_windows_path(path.basename(doc.path)) + "');" a.textContent = doc.title; header = document.createElement("h3"); header.appendChild(a);