r91156 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91155‎ | r91156 | r91157 >
Date:03:23, 30 June 2011
Author:kaldari
Status:ok
Tags:
Comment:
adding in code to pre-select first image as requested, this may be confusing to user, however, since then nothing happens if they try to click on the first image to select it - commenting out until further discussion
Modified paths:
  • /trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js
@@ -691,6 +691,8 @@
692692 index++;
693693 }
694694 } );
 695+ // Pre-select first image
 696+ /* $('#mw-wikilove-gallery-img-0 img').trigger('click'); */
695697 },
696698 error: function() {
697699 $( '#mw-wikilove-gallery-error' ).show();

Status & tagging log