mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-23 14:07:01 +00:00
Fix accidental use of IIFE
The function was being invoked immediately instead of as the jQuery ready callback. Change-Id: I08c5a5dad6652a598a2b4a6bed196ab18bee452a
This commit is contained in:
parent
f2d0dde88c
commit
16538948ae
|
@ -1,4 +1,4 @@
|
|||
$( function () {
|
||||
$( () => {
|
||||
|
||||
/**
|
||||
* Parse a line ID, e.g. "L-18"
|
||||
|
@ -112,4 +112,4 @@ $( function () {
|
|||
// Check hash on load
|
||||
onHashChange( true );
|
||||
|
||||
}() );
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue