(added story for next and prev page buttons) |
m (id fix for page switch) |
||
Line 98: | Line 98: | ||
} | } | ||
if ($index == 0) { | if ($index == 0) { | ||
− | $("#page-switch-prev").hide(); | + | $("#page-switch-prev-li").hide(); |
} else { | } else { | ||
$("#page-switch-prev").attr("href", $story[$index - 1]); | $("#page-switch-prev").attr("href", $story[$index - 1]); | ||
} | } | ||
if ($index == $story.length - 1) { | if ($index == $story.length - 1) { | ||
− | $("#page-switch-next").hide(); | + | $("#page-switch-next-li").hide(); |
} else { | } else { | ||
$("#page-switch-next").attr("href", $story[$index + 1]); | $("#page-switch-next").attr("href", $story[$index + 1]); |
Revision as of 16:14, 30 August 2017