Skip to content

Commit

Permalink
Update "swap pedestrian <-> drivable" road type code (master)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapomatic committed Sep 30, 2024
1 parent b667ddb commit 8f3d649
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WME ClickSaver.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name WME ClickSaver
// @namespace https://greasyfork.org/users/45389
// @version 2024.08.28.000
// @version 2024.09.30.000
// @description Various UI changes to make editing faster and easier.
// @author MapOMatic
// @include /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/
Expand Down Expand Up @@ -625,10 +625,10 @@

// Insert swap button in the correct location based on display mode.
if (displayMode === 'compact') {
const $label = $('#segment-edit-general > form > div.road-type-control.form-group > wz-label');
const $label = $('#segment-edit-general > form > div > div.road-type-control > wz-label');
$label.css({ display: 'inline' }).append($container);
} else {
const $label = $('#segment-edit-general > form > div.road-type-control.form-group > wz-label');
const $label = $('#segment-edit-general > form > div[0] > wz-label');
$label.css({ display: 'inline' }).append($container);
}
// TODO css
Expand Down

0 comments on commit 8f3d649

Please sign in to comment.