{
var html = this.html || '';
- if (this.fa != false) {
+ if (this.fa !== false) {
html = '<i class="fa fa-' + this.fa + '"></i>';
}
var cfg = {
cfg.href = this.href || '#';
} else {
cfg.name = this.anchor;
- if (html !== false) {
+ if (this.html !== false || this.fa !== false) {
cfg.html = html;
}
if (this.href !== false) {