r54969 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54968‎ | r54969 | r54970 >
Date:21:09, 13 August 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Removed double semi-colon.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.js
@@ -109,15 +109,15 @@
110110 }
111111 }
112112 }
113 -// Each browser seems to do this differently, so let's keep our editor
114 -// consistent by allways starting at the begining
115 -context.$textarea.scrollToCaretPosition( 0 );
116113 // If there was a configuration passed, it's assumed to be for the addModule
117114 // API call, so we can just send it on it's way right now
118115 if ( arguments.length > 0 && typeof arguments[0] == 'object' ) {
119116 context.api.addModule( context, arguments[0] );
120117 }
 118+//Each browser seems to do this differently, so let's keep our editor
 119+//consistent by always starting at the begining
 120+context.$textarea.scrollToCaretPosition( 0 );
121121 // Store the context for next time, and support chaining
122 -return $(this).data( 'context', context );;
 122+return $(this).data( 'context', context );
123123
124124 };})(jQuery);
\ No newline at end of file

Status & tagging log