Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
js/commons: Fix height issue with abbr
  • Loading branch information
sogehige committed Aug 5, 2018
1 parent c4f2034 commit 60e4a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/commons.js
Expand Up @@ -64,7 +64,7 @@ var commons = {

var output = ''
output += !_.isNil(options.title) ? '<small class="form-text text-muted">' + options.title + '</small>' : ''
output += '<abbr class="form-control" id="' + id + '" data-id="' + options.id +
output += '<abbr class="form-control" style="height: fit-content" id="' + id + '" data-id="' + options.id +
'" data-fnc="' + options.fnc + '" data-filters="' + options.filters.join(',') +
'" data-errorcontainer="' + options.errorContainer + '" data-value="' + commons.hash(options.text) + '" contenteditable="true" placeholder="' + options.placeholder + '" ' + dataArr.join(' ') + ' data-match="' + options.match + '">' + (!_.isNil(options.mask) ? options.text.replace(/./g, options.mask) : stringAbbr) + '</abbr>'

Expand Down

0 comments on commit 60e4a58

Please sign in to comment.