diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2025-03-18 11:45:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 11:45:00 +0100 |
commit | 6843ced12e4051aefbee47cf87fa79794737eb8a (patch) | |
tree | 267c0ae0d63a7b607c408a9223795c020ba4f74d /demos/spinner/latlong.html | |
parent | ef28a5f57036e32a66e6d469e345d7376ecdaffc (diff) | |
download | jquery-ui-6843ced12e4051aefbee47cf87fa79794737eb8a.tar.gz jquery-ui-6843ced12e4051aefbee47cf87fa79794737eb8a.zip |
Spinner: Drop dependency on jQuery Mousewheel
1. Listen to the native `wheel` event without depending on any wrapper plugins.
2. Keep listening to the `mousewheel` event for compatibility with projects
using the jQuery Mousewheel plugin but route it to the `wheel` handler.
Closes gh-2338
Diffstat (limited to 'demos/spinner/latlong.html')
-rw-r--r-- | demos/spinner/latlong.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/spinner/latlong.html b/demos/spinner/latlong.html index 0ee747eee..cdaf65f3c 100644 --- a/demos/spinner/latlong.html +++ b/demos/spinner/latlong.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="../demos.css"> <script src="https://maps.google.com/maps/api/js?sensor=false"></script> <script src="../../external/requirejs/require.js"></script> - <script src="../bootstrap.js" data-modules="external/jquery-mousewheel/jquery.mousewheel"> + <script src="../bootstrap.js"> function latlong() { return new google.maps.LatLng( $("#lat").val(), $("#lng").val() ); } |