We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7312a commit 3c705c0Copy full SHA for 3c705c0
1 file changed
assets/js/recommendations/select-timezone.js
@@ -17,8 +17,7 @@ prplDocumentReady( () => {
17
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
18
const timezoneSelect = document.querySelector( 'select#timezone' );
19
const timezoneSaved = timezoneSelect?.dataset?.timezoneSaved || 'false';
20
- console.log( timezoneSelect );
21
- console.log( timezoneSaved );
+
22
// Try to preselect the timezone.
23
if ( timezone && timezoneSelect && 'false' === timezoneSaved ) {
24
timezoneSelect.value = timezone;
0 commit comments