From: Daniel Carl Date: Wed, 13 Mar 2013 21:39:53 +0000 (+0100) Subject: Fixed none cleared hints within frames. X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=018ea8649068932193e50a75b5fd91852e87f217;p=vimb.git Fixed none cleared hints within frames. --- diff --git a/src/hints.js b/src/hints.js index 1d8e9ab..030f7a7 100644 --- a/src/hints.js +++ b/src/hints.js @@ -178,7 +178,7 @@ VimpHints = function Hints(mode, usage, bg, bgf, fg, style, maxHints) { if (hint.e) { hint.e.style.background = hint.bg; hint.e.style.color = hint.fg; - hCont.removeChild(hint.span); + hint.span.parentNode.removeChild(hint.span); } } hints = [];