projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be25c6e
)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
author
Alan
<alan@roojs.com>
Fri, 10 Feb 2023 07:17:31 +0000
(15:17 +0800)
committer
Alan
<alan@roojs.com>
Fri, 10 Feb 2023 07:17:31 +0000
(15:17 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
b/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
index
f3ba154
..
b3c8be9
100644
(file)
--- a/
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
+++ b/
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
@@
-208,8
+208,8
@@
Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
sel = ev.target;
}
- var tn = sel.tagName.toUpperCase();
- if (tn != 'A') {
+ var tn = sel
&& sel
.tagName.toUpperCase();
+ if (
sel &&
tn != 'A') {
var asel = sel.closest('A');
if (asel) {
sel = asel;