Skip to content

Commit

Permalink
Add a pointer to better show that the switch is clickable. re #79
Browse files Browse the repository at this point in the history
  • Loading branch information
seblucas committed Jul 30, 2014
1 parent dfa02b6 commit 3a0b78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.php
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ public function InitializeContent ()

$content = "";
array_push ($this->entryArray, new Entry ("Template", "",
"<span onclick='$.cookie(\"template\", \"bootstrap\", { expires: 365 });window.location=$(\".headleft\").attr(\"href\");'>Click to switch to Bootstrap</span>", "text",
"<span style='cursor: pointer;' onclick='$.cookie(\"template\", \"bootstrap\", { expires: 365 });window.location=$(\".headleft\").attr(\"href\");'>Click to switch to Bootstrap</span>", "text",
array ()));
if (!preg_match("/(Kobo|Kindle\/3.0|EBRD1101)/", $_SERVER['HTTP_USER_AGENT'])) {
$content .= '<select id="style" onchange="updateCookie (this);">';
Expand Down

0 comments on commit 3a0b78c

Please sign in to comment.