r68363 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68362‎ | r68363 | r68364 >
Date:15:27, 21 June 2010
Author:adam
Status:ok
Tags:
Comment:
AutoEllipsis - adding an extra conditional to the code committed in r68360
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.autoEllipsis.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.autoEllipsis.js
@@ -69,7 +69,7 @@
7070 if ( !( text in cache ) ) {
7171 cache[text] = {};
7272 }
73 - if ( !( text in matchTextCache ) ) {
 73+ if ( options.matchText && !( text in matchTextCache ) ) {
7474 matchTextCache[text] = {};
7575 }
7676 if ( options.matchText && !( options.matchText in matchTextCache[text] ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68360AutoEllipsis - Fixing a bug introduced in r68359adam14:56, 21 June 2010

Status & tagging log