Skip to content

Commit

Permalink
Update WMEPIE.js
Browse files Browse the repository at this point in the history
Grumble grumble...WME update bug fixes....grumble grumble
  • Loading branch information
justins83 authored Jan 23, 2019
1 parent 686952b commit 67b06b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions WMEPIE.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name WME Place Interface Enhancements
// @namespace https://greasyfork.org/users/30701-justins83-waze
// @version 2019.01.22.02
// @version 2019.01.23.01
// @description Enhancements to various Place interfaces
// @include https://www.waze.com/editor*
// @include https://www.waze.com/*/editor*
Expand Down Expand Up @@ -726,7 +726,6 @@ var UpdateObject, MultiAction;
if(WazeWrap.hasPlaceSelected())
if ( WazeWrap.getSelectedFeatures()[0].model.attributes.categories.length === 1 && WazeWrap.getSelectedFeatures()[0].model.attributes.categories[0] === 'SHOPPING_AND_SERVICES' )
$('.suggested-categories').remove();
addLockButtons();
updatePlaceSizeDisplay();
AddPlaceCategoriesButtons();
AddHoursParserInterface();
Expand Down Expand Up @@ -3002,7 +3001,7 @@ var UpdateObject, MultiAction;
if(WazeWrap.getSelectedFeatures().length > 0)
if(WazeWrap.getSelectedFeatures()[0].model.type === "venue")
$('.full-address').click(function(){
$('.street-name').parent().parent().before($('.house-number').parent().parent());
$('.street-name').parent().parent().before($('.form-control.house-number').parent().parent());
});
}

Expand Down

0 comments on commit 67b06b0

Please sign in to comment.