From aee46019070db56f3a83a1aba10f9c3576df36f7 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 18 May 2009 04:12:42 -0400 Subject: [PATCH] Fix Googiespell --- skins/default/googiespell.css | 7 +++++-- program/js/googiespell.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/program/js/googiespell.js b/program/js/googiespell.js index 7b698ec..dc26c45 100644 --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -361,7 +361,7 @@ this.correctError = function(id, elm, l_elm, rm_pre_space) { var old_value = elm.innerHTML; - var new_value = l_elm.innerHTML; + var new_value = l_elm.nodeType == 3 ? l_elm.nodeValue : l_elm.innerHTML; var offset = this.results[id]['attrs']['o']; if (rm_pre_space) { diff --git a/skins/default/googiespell.css b/skins/default/googiespell.css index 02314f3..6e8d41c 100644 --- a/skins/default/googiespell.css +++ b/skins/default/googiespell.css @@ -48,7 +48,7 @@ } .googie_list_onout { - background-color: #F6F6F6; + background-color: #fff; } .googie_list_selected { @@ -67,9 +67,12 @@ .googie_list_revert { font-size: 11px; - color: #b91479; + color: #b91414; } +.googie_list_revert:hover { + color: #fff; +} .googie_link { color: #b91414; text-decoration: underline; -- Gitblit v1.9.1