tweak pan.do/ra descriptions

This commit is contained in:
j 2024-01-07 17:04:00 +01:00
commit 4be6ee0a8b
3 changed files with 7 additions and 6 deletions

View file

@ -6,7 +6,7 @@ Ox.getJSON('json/pandora.json?' + +new Date(), function(pandora) {
$icon = $('#icon'),
$menu = $('<div>').attr({id: 'menu'}).appendTo($body),
$page = $('<div>').attr({id: 'page'}).appendTo($body),
$head = $('<div>').appendTo($page);
$head = $('<h1>').appendTo($page);
$text = $('<div>').appendTo($page);
$prevButton = $('<span>')
.addClass('button')
@ -207,7 +207,7 @@ Ox.getJSON('json/pandora.json?' + +new Date(), function(pandora) {
: page
);
$text.empty().append(text);
if (page == 'tour') {
if (page == 'tour') {
$prevButton[
part == 1 ? 'addClass' : 'removeClass'
]('disabled')