Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Ellipsis bug with truncate


Project:clueTip - flexible, enhanced tooltip
Version:0.9.8
Component:Code
Category:bug report
Priority:critical
Assigned:agroth
Status:patch (ready to commit)
Description

Ellipsis added to all text, even if text length was less than value of truncate

Line 261:

if (opts.truncate) {

should be changed to:

if (opts.truncate && (parseInt(opts.truncate) < $cluetipInner.text().length) ) {

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#1

Status:active» patch (ready to commit)

thanks for the heads up on this. I've committed the patch to svn and will roll it into the next release.
http://jqueryjs.googlecode.com/svn/trunk/plugins/cluetip/

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.