From: jordan Date: Tue, 13 Mar 2012 13:39:40 +0000 (+0000) Subject: bring back the question mark button of the markdown editor (WMD) and make it point... X-Git-Tag: live~86 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/2fda8ebc7bbad87efbd6b35cde856b341eece0de bring back the question mark button of the markdown editor (WMD) and make it point to the markdown syntax git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1231 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/media/js/wmd/wmd.js b/forum/skins/default/media/js/wmd/wmd.js index ac03ea2..fd429a4 100644 --- a/forum/skins/default/media/js/wmd/wmd.js +++ b/forum/skins/default/media/js/wmd/wmd.js @@ -101,8 +101,8 @@ Attacklab.wmdBase = function(){ var pastePollInterval = 100; // The link and title for the help button - var helpLink = "http://wmd-editor.com/"; - var helpHoverTitle = "WMD website"; + var helpLink = "http://daringfireball.net/projects/markdown/syntax"; + var helpHoverTitle = "MarkDown Syntax"; var helpTarget = "_blank"; // ------------------------------------------------------------------- @@ -1134,10 +1134,10 @@ Attacklab.wmdBase = function(){ helpAnchor.href = helpLink; helpAnchor.target = helpTarget helpAnchor.title = helpHoverTitle; - //helpButton.appendChild(helpAnchor); + helpButton.appendChild(helpAnchor); - //setupButton(helpButton, true); - //buttonRow.appendChild(helpButton); + setupButton(helpButton, true); + buttonRow.appendChild(helpButton); setUndoRedoButtonStates(); }