Refactoring: Reverted unneeded HTML option customization of bootstrap-tokenfield.js.
This commit is contained in:
parent
4696a85cd4
commit
f6c2d810bc
1 changed files with 1 additions and 5 deletions
|
@ -254,10 +254,7 @@
|
||||||
var $tokenLabel = $token.find('.token-label')
|
var $tokenLabel = $token.find('.token-label')
|
||||||
, $closeButton = $token.find('.close')
|
, $closeButton = $token.find('.close')
|
||||||
|
|
||||||
if (this.options.html)
|
$tokenLabel.text(attrs.label)
|
||||||
$tokenLabel.html(attrs.label)
|
|
||||||
else
|
|
||||||
$tokenLabel.text(attrs.label)
|
|
||||||
|
|
||||||
// Listen to events on token
|
// Listen to events on token
|
||||||
$token
|
$token
|
||||||
|
@ -998,7 +995,6 @@
|
||||||
$.fn.tokenfield.defaults = {
|
$.fn.tokenfield.defaults = {
|
||||||
minWidth: 60,
|
minWidth: 60,
|
||||||
minLength: 0,
|
minLength: 0,
|
||||||
html: true,
|
|
||||||
allowEditing: true,
|
allowEditing: true,
|
||||||
allowPasting: true,
|
allowPasting: true,
|
||||||
limit: 0,
|
limit: 0,
|
||||||
|
|
Loading…
Reference in a new issue