projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d9c22f
)
Roo/bootstrap/Img.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Jul 2021 04:08:21 +0000
(12:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Jul 2021 04:08:21 +0000
(12:08 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
5d31dff
..
cd5505f
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-168,8
+168,7
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
this.el.on('click', this.onClick, this);
}
if(this.src || (!this.xsUrl && !this.smUrl && !this.mdUrl && !this.lgUrl)){
- this.el.on('loac', this.onImageLoad, this);
-
+ this.el.on('load', this.onImageLoad, this);
} else {
// not sure if this works.. not tested
this.el.select('img', true).on('load', this.onImageLoad, this);