Skip to content

Commit

Permalink
Tabs: Properly handle documents containing <base> tag
Browse files Browse the repository at this point in the history
See discussion at: jquery/jquery-ui#709
  • Loading branch information
artwist committed Aug 12, 2012
1 parent 25f84e2 commit 0067b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/common/ui/lib/tab.js
Expand Up @@ -74,7 +74,7 @@ define([
this.panels = this.container.data('panels');
this.id = 'tab-ui-container-' + (++idCounter);
this.panel = $('<div>', {id : this.id, 'unselectable': 'on'});
this.handle = $('<li><a href="#' + this.id + '">' +
this.handle = $('<li><a href="' + document.location.href + '#' + this.id + '">' +
settings.label + '</a></li>');

for (i = 0; i < components.length; i++) {
Expand Down

0 comments on commit 0067b53

Please sign in to comment.