Merge branch 'master' into v1
This commit is contained in:
commit
ea2e8f7c92
3 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,11 @@
|
|||
# Changelog (v0)
|
||||
|
||||
## 0.49.11
|
||||
|
||||
- bug fixes
|
||||
- regression (0.49.10) breaking icon with short names (minimum valid length set to 2 characters)
|
||||
- html widget: content not initialized properly
|
||||
|
||||
## 0.49.10
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
return `<i class="fa fa-fw fa-${i}"></i>`
|
||||
},
|
||||
iconify:function(string){
|
||||
return String(string).replace(/\^[^\s]{4,}/g,(x)=>{return module.exports.icon(x.substring(1))})
|
||||
return String(string).replace(/\^[^\s]{2,}/g,(x)=>{return module.exports.icon(x.substring(1))})
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ class Html extends StaticProperties(Widget, {bypass: true}) {
|
|||
if (!this.getProp('border')) this.container.classList.add('noborder')
|
||||
this.frame = DOM.get(this.widget, '.frame')[0]
|
||||
|
||||
if (this.getProp('html') !== '') this.updateHtml()
|
||||
|
||||
}
|
||||
|
||||
updateHtml(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue