cheaper pips dom appending function
This commit is contained in:
parent
cf3900bc16
commit
cd1b5cdcd3
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ module.exports.create = function(widgetData,container) {
|
|||
<div class="pip ${range[i]!=undefined?'val':''}">${piptext}</div>
|
||||
`
|
||||
}
|
||||
pips.append(pipsInner)
|
||||
pips[0].innerHTML = pipsInner
|
||||
|
||||
if (dimension=='height') {
|
||||
pips.append(pips.find('.pip').get().reverse())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue