From 4daf08ec1d83e205516c613ecab1a73854c88006 Mon Sep 17 00:00:00 2001 From: vmalaret Date: Wed, 1 Apr 2015 09:26:17 +0200 Subject: [PATCH] Rename flag to 'stableonly' --- config/jsdoc/api/template/static/scripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/jsdoc/api/template/static/scripts/main.js b/config/jsdoc/api/template/static/scripts/main.js index f050997bf1..30113d8f64 100644 --- a/config/jsdoc/api/template/static/scripts/main.js +++ b/config/jsdoc/api/template/static/scripts/main.js @@ -74,7 +74,7 @@ $(function () { var stabilityToggle = $('#stability-toggle'); stabilityToggle.change(function() { unstable.toggleClass('hidden', this.checked); - var search = this.checked ? '?stable=true' : ''; + var search = this.checked ? '?stableonly=true' : ''; links.each(function(i, el) { this.href = this.pathname + search + this.hash; }); @@ -88,6 +88,6 @@ $(function () { links.each(function(i, el) { this.href = this.pathname + search + this.hash; }); - stabilityToggle.prop('checked', search === '?stable=true'); + stabilityToggle.prop('checked', search === '?stableonly=true'); unstable.toggleClass('hidden', stabilityToggle[0].checked); });