favourite issue fix
This commit is contained in:
parent
f62e3175ae
commit
34a3846913
@ -1129,7 +1129,7 @@ var js_array = [<?php echo json_encode($fav)?>];
|
||||
// var Menu_URL="#"+value.Menu_URL;
|
||||
// console.log(Menu_URL);
|
||||
var span = document.getElementById(value.Menu_URL).getElementsByTagName("span");
|
||||
console.log(span);
|
||||
// console.log(span);
|
||||
$(span).toggleClass("glyphicon-star glyphicon-star-empty");
|
||||
|
||||
}
|
||||
@ -1163,6 +1163,7 @@ function save(url,name){
|
||||
// alert(count++);
|
||||
count = parseInt(count)+1;
|
||||
//alert(count);
|
||||
window.location.reload();
|
||||
if(count <= 7){
|
||||
$.ajax({
|
||||
type:'post',
|
||||
@ -1184,6 +1185,7 @@ function save(url,name){
|
||||
//console.log(span[0].className);
|
||||
//alert("else");
|
||||
count = parseInt(count)-1;
|
||||
window.location.reload();
|
||||
// count--;
|
||||
//alert("else"+count);
|
||||
var id = url+"1";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user