From 2fda8ebc7bbad87efbd6b35cde856b341eece0de Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 13 Mar 2012 13:39:40 +0000 Subject: [PATCH] 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 --- forum/skins/default/media/js/wmd/wmd.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); } -- 2.39.5