]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/media/js/wmd/wmd.js
bring back the question mark button of the markdown editor (WMD) and make it point...
[osqa.git] / forum / skins / default / media / js / wmd / wmd.js
index ac03ea2885a2d631d7526f64bfb2d62a66025047..fd429a4b241445b9ea532bc22ca6bc5705e29c38 100644 (file)
@@ -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();
                }