projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec6958
)
Don't remove target attributes with none _blank value.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 13 Mar 2013 21:35:22 +0000
(22:35 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 13 Mar 2013 21:35:22 +0000
(22:35 +0100)
If a framesite uses the target attribute to open a link into a defined frame
we removed this useful attribute too during hinting the link. Now only target
via value _blank are removed just before clicking the hint.
src/hints.js
patch
|
blob
|
history
diff --git
a/src/hints.js
b/src/hints.js
index
019706b
..
1d8e9ab
100644
(file)
--- a/
src/hints.js
+++ b/
src/hints.js
@@
-232,7
+232,7
@@
VimpHints = function Hints(mode, usage, bg, bgf, fg, style, maxHints) {
if (newWin) {
/* set target to open in new window */
e.target = "_blank";
- } else {
+ } else
if (e.target === "_blank")
{
e.removeAttribute("target");
}
_click(e);