Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cache busting help links (so we see updated text) and using new :host…

…() selector :(
  • Loading branch information...
commit 41dc8fba07a044023e23fe7640a35ea77b0fc237 1 parent e9ca6d4
@remy remy authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/chrome/navigation.js
View
6 js/chrome/navigation.js
@@ -63,8 +63,8 @@ $('#control div.help a:last').click(function () {
return false;
});
-$('#help a[host=' + window.location.host + ']').live('click', function () {
- $('#help #content').load(this.href);
+$('#help a:host(' + window.location.host + ')').live('click', function () {
+ $('#help #content').load(this.href + '?' + Math.random());
return false;
});
@@ -73,7 +73,7 @@ $(window).bind('togglehelp', function () {
var s = 100, right = helpOpen ? 0 : 300;
if (helpOpen == false) {
- $('#help #content').load('/help/index.html');
+ $('#help #content').load('/help/index.html?' + Math.random());
}
$bin.find('> div').animate({ right: right }, { duration: s });
$('#control').animate({ right: right }, { duration: s });
Please sign in to comment.
Something went wrong with that request. Please try again.