|
|
@@ -56,7 +56,7 @@ if (!isset($_SESSION['loggedin'])) {
|
|
|
<div class="inner-toolbar">
|
|
|
<ul>
|
|
|
<li class="right">
|
|
|
- <a href="#" onclick="window.history.go(-2); return false;"><i class="fa fa-undo"></i> 返回</a>
|
|
|
+ <a href="#" onclick="window.history.go(-1); return false;"><i class="fa fa-undo"></i> 返回</a>
|
|
|
</li>
|
|
|
<li class="right">
|
|
|
<a href="#" onclick="AddFavorite();"><i id="heart" class="fa fa-heart"></i><span id="favorite"> 加入清單</span></a>
|
|
|
@@ -201,6 +201,7 @@ if (!isset($_SESSION['loggedin'])) {
|
|
|
stack: stack_bar_top,
|
|
|
width: "100%"
|
|
|
});
|
|
|
+ console.log("add favorite: " + data);
|
|
|
isFavorite = true;
|
|
|
$("#heart").css("color", "Tomato");
|
|
|
$("#favorite").html('移出清單');
|