projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4f60c
)
Roo/bootstrap/MasonryBrick.js
author
edward
<edward@roojs.com>
Wed, 27 Dec 2017 05:18:14 +0000
(13:18 +0800)
committer
edward
<edward@roojs.com>
Wed, 27 Dec 2017 05:18:14 +0000
(13:18 +0800)
Roo/bootstrap/MasonryBrick.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MasonryBrick.js
b/Roo/bootstrap/MasonryBrick.js
index
d329941
..
51c886b
100644
(file)
--- a/
Roo/bootstrap/MasonryBrick.js
+++ b/
Roo/bootstrap/MasonryBrick.js
@@
-143,6
+143,10
@@
Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component, {
tag: (this.href.length) ? 'a' : 'div',
cls: cls,
cn: [
+ {
+ tag: 'div',
+ cls: 'masonry-brick-mask'
+ },
{
tag: 'div',
cls: 'masonry-brick-paragraph',
@@
-155,7
+159,7
@@
Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component, {
cfg.href = this.href;
}
- var cn = cfg.cn[
0
].cn;
+ var cn = cfg.cn[
1
].cn;
if(this.title.length){
cn.push({
@@
-173,7
+177,7
@@
Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component, {
});
}
if (!this.title.length && !this.html.length) {
- cfg.cn[
0
].cls += ' hide';
+ cfg.cn[
1
].cls += ' hide';
}
if(this.bgimage.length){