You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need fixed width because the surrounding container is responsive (table), and sometimes empty.
I have some additions to your code.
else if (!isNaN(width)) {
// If there is no text do nothing
if (str !== '') {
bite_size = length - width;
// If the text is to short do nothing
if (bite_size > 0) {
bite = utils.eatStr(str, side, bite_size, fill);
this.html(bite);
if (settings.tooltip) {
this.attr('title', str);
}
}
}
}
regards,
Marko
The text was updated successfully, but these errors were encountered:
Hi,
I need fixed width because the surrounding container is responsive (table), and sometimes empty.
I have some additions to your code.
regards,
Marko
The text was updated successfully, but these errors were encountered: