Permalink
Browse files

Smarter panel defaults in history

  • Loading branch information...
remy committed Apr 7, 2012
1 parent a857220 commit 346264ddf286ae4600c99f0e7afcf6951c8bba60
Showing with 5 additions and 0 deletions.
  1. +5 −0 list-history.php
View
@@ -58,6 +58,11 @@ function getRelativeTime($date) {
$args[] = 'css';
}
+ // show the console instead of the live render if there's no HTML
+ if ($js && !$html) {
+ $args[0] = '?console';
+ }
+
// TODO decide whether I need the root here...
$editurl = $url . 'edit' . implode(',', $args);

0 comments on commit 346264d

Please sign in to comment.