From 1ea0677bfd85b631a0fe9cf51c963a5efe0ae816 Mon Sep 17 00:00:00 2001 From: rich Date: Tue, 26 Oct 2004 17:50:23 +0000 Subject: [PATCH] Fixed a problem where it would jump up and down the page when buttons were pressed. --- debian/changelog | 2 +- html/_js/editor.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/debian/changelog b/debian/changelog index de4813a..aec1bea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -cocanwiki (1.3.5-2) unstable; urgency=low +cocanwiki (1.3.5-3) unstable; urgency=low * Initial Release. diff --git a/html/_js/editor.js b/html/_js/editor.js index 7479059..84b930e 100644 --- a/html/_js/editor.js +++ b/html/_js/editor.js @@ -1,6 +1,6 @@ /* Javascript for OCAMLWIKI. * Copyright (C) 2004 Merjis Ltd. - * $Id: editor.js,v 1.3 2004/10/26 17:42:08 rich Exp $ + * $Id: editor.js,v 1.4 2004/10/26 17:50:23 rich Exp $ */ var delay = 1000; // Delay in milliseconds before updating. @@ -52,14 +52,14 @@ function init_edit_buttons (div_id, content_id, preview_id) // HTML for the edit buttons. var args = "'" + content_id + "', '" + preview_id + "'"; var edit_buttons_html = - "Link" + + "Link" + "" + - "Bold" + - "Italic" + - "Strike" + + "Bold" + + "Italic" + + "Strike" + "" + - "∙—" + - "1—" + + "∙—" + + "1—" + "
" ; var div = document.getElementById (div_id); -- 1.8.3.1