forked from Cavemanon/cavepaintings
Random List now displays actual random images...
Also arrowkey navigation extension now supports Random List extension
This commit is contained in:
@ -24,6 +24,13 @@ class arrowkey_navigation extends Extension {
|
||||
$next_url = make_http(make_link("post/list/".$pageinfo["next"]));
|
||||
$this->add_arrowkeys_code($prev_url, $next_url);
|
||||
}
|
||||
|
||||
// for random_list extension
|
||||
else if ($event->page_matches("random")) {
|
||||
$prev_url = make_http(make_link("random"));
|
||||
$next_url = make_http(make_link("random"));
|
||||
$this->add_arrowkeys_code($prev_url, $next_url);
|
||||
}
|
||||
}
|
||||
|
||||
# adds the javascript to the page with the given urls
|
||||
|
Reference in New Issue
Block a user