aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/widgets/tabs.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/widgets/tabs.js b/ui/widgets/tabs.js
index 209d0febc..0dd165d4a 100644
--- a/ui/widgets/tabs.js
+++ b/ui/widgets/tabs.js
@@ -889,7 +889,10 @@ $.widget( "ui.tabs", {
_ajaxSettings: function( anchor, event, eventData ) {
var that = this;
return {
- url: anchor.attr( "href" ),
+
+ // Support: IE <11 only
+ // Strip any hash that exists to prevent errors with the Ajax request
+ url: anchor.attr( "href" ).replace( /#.*$/, "" ),
beforeSend: function( jqXHR, settings ) {
return that._trigger( "beforeLoad", event,
$.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );