Preferences: Fix timezone selectors
authorEd Sanders <esanders@wikimedia.org>
Wed, 16 May 2018 17:10:47 +0000 (18:10 +0100)
committerEd Sanders <esanders@wikimedia.org>
Wed, 16 May 2018 17:10:47 +0000 (18:10 +0100)
Change-Id: I6a3c4c811361188a9a288cf688f64155b48a906d

resources/src/mediawiki.special.preferences/timezone.js

index a6ffae9..f938bcf 100644 (file)
@@ -18,8 +18,8 @@
                                timezoneWidget = null;
                        }
                } else {
-                       $tzSelect = $( '#mw-input-wptimecorrection' );
-                       $tzTextbox = $( '#mw-input-wptimecorrection-other' );
+                       $tzSelect = $( '#wpTimeCorrection' );
+                       $tzTextbox = $( '#wpTimeCorrection-other' );
                }
 
                $localtimeHolder = $( '#wpLocalTime' );