Handle unsupported versions.

refactor-builder
Eric Holscher 2014-01-16 19:54:45 +07:00
parent cfbc0c4e37
commit ce3304e8c8
1 changed files with 2 additions and 1 deletions

View File

@ -44,8 +44,9 @@ $(document).ready(function () {
} }
if (!data['version_active']) { if (!data['version_active']) {
// Show out of date header when this version isn't active
$('.rst-current-version').addClass('rst-out-of-date') $('.rst-current-version').addClass('rst-out-of-date')
} else if (!data['version_supported']) {
$('.rst-current-version').addClass('rst-active-old-version')
} }
}, },
error: function () { error: function () {