dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix SamplingStatsdClient for PHP 7.1+"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.action
/
mediawiki.action.history.js
diff --git
a/resources/src/mediawiki.action/mediawiki.action.history.js
b/resources/src/mediawiki.action/mediawiki.action.history.js
index
b3b0af2
..
6f49fa6
100644
(file)
--- a/
resources/src/mediawiki.action/mediawiki.action.history.js
+++ b/
resources/src/mediawiki.action/mediawiki.action.history.js
@@
-23,8
+23,7
@@
jQuery( function ( $ ) {
return true;
}
return true;
}
- $lis
- .each( function () {
+ $lis.each( function () {
$li = $( this );
$inputs = $li.find( 'input[type="radio"]' );
$oldidRadio = $inputs.filter( '[name="oldid"]' ).eq( 0 );
$li = $( this );
$inputs = $li.find( 'input[type="radio"]' );
$oldidRadio = $inputs.filter( '[name="oldid"]' ).eq( 0 );
@@
-97,8
+96,7
@@
jQuery( function ( $ ) {
// Also remove potentially conflicting id attributes that we don't need anyway
$copyForm
.css( 'display', 'none' )
// Also remove potentially conflicting id attributes that we don't need anyway
$copyForm
.css( 'display', 'none' )
- .find( '[id]' )
- .removeAttr( 'id' )
+ .find( '[id]' ).removeAttr( 'id' )
.end()
.insertAfter( $historyCompareForm )
.submit();
.end()
.insertAfter( $historyCompareForm )
.submit();