Commit c848fb56 by libai

测试

parent 8e52150d
Showing with 5 additions and 0 deletions
...@@ -752,6 +752,10 @@ $(function () { ...@@ -752,6 +752,10 @@ $(function () {
loop:true, loop:true,
}); });
$(".act-btn").unbind("click").on("click",function(){ $(".act-btn").unbind("click").on("click",function(){
if(localStorage.token==undefined){
loginLayer()
return;
}
var _self=$(this) var _self=$(this)
layer.open({ layer.open({
...@@ -772,6 +776,7 @@ $(function () { ...@@ -772,6 +776,7 @@ $(function () {
function mcLike(e,type){ function mcLike(e,type){
if(localStorage.uid==undefined){ if(localStorage.uid==undefined){
loginLayer() loginLayer()
return;
} }
$.ajax({ $.ajax({
url:$ip+'room/likeOpt', url:$ip+'room/likeOpt',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment