twitter/bootstrap — Issue #1377: twipsy.js bug with fix
Author: ckeboss
Created: 2012-01-29 12:35:13+00:00
State: open

The twipsy class has an issue that you can't define a title in code (as opposed to data-original-title).

line 160 of bootstrap-twipsy.js

--title = $e.attr(o.title == 'title' ? 'data-original-title' : o.title)

++if(o.title == 'title') {
++title = $e.attr('data-original-title');
++} else {
++title = o.title;
++}

This fixes the bug.