Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.autoEllipsis.js |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | if ( !( text in cache ) ) { |
71 | 71 | cache[text] = {}; |
72 | 72 | } |
73 | | - if ( !( text in matchTextCache ) ) { |
| 73 | + if ( options.matchText && !( text in matchTextCache ) ) { |
74 | 74 | matchTextCache[text] = {}; |
75 | 75 | } |
76 | 76 | if ( options.matchText && !( options.matchText in matchTextCache[text] ) ) { |