Index: trunk/extensions/VipsScaler/modules/ext.vipsScaler/ext.vipsScaler.js |
— | — | @@ -22,40 +22,6 @@ |
23 | 23 | |
24 | 24 | var container = document.getElementById( 'mw-vipstest-thumbnails' ); |
25 | 25 | if ( container ) { |
26 | | -/* |
27 | | - $( '<p id="mw-vipstest-buttons">\n' + |
28 | | - '<button id="mw-vipstest-show-both">' + |
29 | | - mediaWiki.message( 'vipsscaler-show-both' ).escaped() + |
30 | | - '</button> ' + |
31 | | - '<button id="mw-vipstest-show-default">' + |
32 | | - mediaWiki.message( 'vipsscaler-show-default' ).escaped() + |
33 | | - '</button> ' + |
34 | | - '<button id="mw-vipstest-show-vips">' + |
35 | | - mediaWiki.message( 'vipsscaler-show-vips' ).escaped() + |
36 | | - '</button> ' + |
37 | | - '</p>' |
38 | | - ).prependTo( container ); |
39 | | -*/ |
40 | | -/** |
41 | | - $( '#mw-vipstest-show-both' ).click( function() { |
42 | | - document.getElementById( 'mw-vipstest-show-default' ).style.display = 'inline'; |
43 | | - document.getElementById( 'mw-vipstest-show-vips' ).style.display = 'inline'; |
44 | | - document.getElementById( 'mw-vipstest-default-thumb' ).style.display = 'block'; |
45 | | - document.getElementById( 'mw-vipstest-vips-thumb' ).style.display = 'block'; |
46 | | - } ); |
47 | | - $( '#mw-vipstest-show-default' ).click( function() { |
48 | | - document.getElementById( 'mw-vipstest-show-default' ).style.display = 'none'; |
49 | | - document.getElementById( 'mw-vipstest-show-vips' ).style.display = 'inline'; |
50 | | - document.getElementById( 'mw-vipstest-default-thumb' ).style.display = 'block'; |
51 | | - document.getElementById( 'mw-vipstest-vips-thumb' ).style.display = 'none'; |
52 | | - } ); |
53 | | - $( '#mw-vipstest-show-vips' ).click( function() { |
54 | | - document.getElementById( 'mw-vipstest-show-default' ).style.display = 'inline'; |
55 | | - document.getElementById( 'mw-vipstest-show-vips' ).style.display = 'none'; |
56 | | - document.getElementById( 'mw-vipstest-default-thumb' ).style.display = 'none'; |
57 | | - document.getElementById( 'mw-vipstest-vips-thumb' ).style.display = 'block'; |
58 | | - } ); |
59 | | -**/ |
60 | 26 | /** |
61 | 27 | * options are detailed in upstream documentation available at |
62 | 28 | * http://www.userdot.net/files/jquery/jquery.ucompare/demo/ |