fix cherrypick error
This commit is contained in:
@@ -60,8 +60,6 @@ body {
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD:assets/css/oof.css
|
|
||||||
=======
|
|
||||||
#audioplayerdivstop {
|
#audioplayerdivstop {
|
||||||
margin-bottom: 160px;
|
margin-bottom: 160px;
|
||||||
}
|
}
|
||||||
@@ -70,7 +68,6 @@ body {
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> ee5d4c2 (player can save time after win close):public/assets/css/oof.css
|
|
||||||
#ws:link {
|
#ws:link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|||||||
@@ -51,8 +51,6 @@ jQuery(function($) {
|
|||||||
topFunction();
|
topFunction();
|
||||||
});
|
});
|
||||||
|
|
||||||
<<<<<<< HEAD:assets/js/site.js
|
|
||||||
=======
|
|
||||||
$(".closewin").click(function() {
|
$(".closewin").click(function() {
|
||||||
$("#playerwindow").css({
|
$("#playerwindow").css({
|
||||||
'left': $("#playerwindow").data('originalLeft'),
|
'left': $("#playerwindow").data('originalLeft'),
|
||||||
@@ -69,7 +67,6 @@ jQuery(function($) {
|
|||||||
clearcache();
|
clearcache();
|
||||||
});
|
});
|
||||||
|
|
||||||
>>>>>>> ee5d4c2 (player can save time after win close):public/assets/js/site.js
|
|
||||||
var audio = document.getElementById('player');
|
var audio = document.getElementById('player');
|
||||||
console.log(audio.src);
|
console.log(audio.src);
|
||||||
|
|
||||||
@@ -89,10 +86,8 @@ jQuery(function($) {
|
|||||||
},false);
|
},false);
|
||||||
});
|
});
|
||||||
|
|
||||||
<<<<<<< HEAD:assets/js/site.js
|
|
||||||
// player things
|
// player things
|
||||||
|
|
||||||
=======
|
|
||||||
function checkepcache(){
|
function checkepcache(){
|
||||||
if (Cookies.get("lastep-src")){
|
if (Cookies.get("lastep-src")){
|
||||||
console.log("yahh");
|
console.log("yahh");
|
||||||
@@ -134,7 +129,6 @@ jQuery(function($) {
|
|||||||
document.getElementById("lienep").href= linkdec;
|
document.getElementById("lienep").href= linkdec;
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> ee5d4c2 (player can save time after win close):public/assets/js/site.js
|
|
||||||
function play(src, title, date, body) {
|
function play(src, title, date, body) {
|
||||||
var audio = document.getElementById('player');
|
var audio = document.getElementById('player');
|
||||||
console.log(src);
|
console.log(src);
|
||||||
@@ -145,13 +139,11 @@ jQuery(function($) {
|
|||||||
document.getElementById("lienep").innerHTML= title;
|
document.getElementById("lienep").innerHTML= title;
|
||||||
document.getElementById("sbody").innerHTML= body + "....";
|
document.getElementById("sbody").innerHTML= body + "....";
|
||||||
document.getElementById("lienep").href= linkdec;
|
document.getElementById("lienep").href= linkdec;
|
||||||
<<<<<<< HEAD:assets/js/site.js
|
|
||||||
document.getElementById("player").pause();
|
document.getElementById("player").pause();
|
||||||
document.getElementById("player").setAttribute('src', linkdec);
|
document.getElementById("player").setAttribute('src', linkdec);
|
||||||
document.getElementById("player").load();
|
document.getElementById("player").load();
|
||||||
document.getElementById("player").play();
|
document.getElementById("player").play();
|
||||||
Cookies.set("lastep-title", title, { expires: 365 })
|
Cookies.set("lastep-title", title, { expires: 365 })
|
||||||
=======
|
|
||||||
audio.pause();
|
audio.pause();
|
||||||
audio.setAttribute('src', linkdec);
|
audio.setAttribute('src', linkdec);
|
||||||
if (title == Cookies.get("lastep_b4close-title")){
|
if (title == Cookies.get("lastep_b4close-title")){
|
||||||
@@ -160,7 +152,6 @@ jQuery(function($) {
|
|||||||
audio.load();
|
audio.load();
|
||||||
audio.play();
|
audio.play();
|
||||||
Cookies.set("lastep-title", title, { expires: 365 });
|
Cookies.set("lastep-title", title, { expires: 365 });
|
||||||
>>>>>>> ee5d4c2 (player can save time after win close):public/assets/js/site.js
|
|
||||||
Cookies.set("lastep-src", audio.src, { expires: 365 });
|
Cookies.set("lastep-src", audio.src, { expires: 365 });
|
||||||
Cookies.set("lastep-body", body, { expires: 365 })
|
Cookies.set("lastep-body", body, { expires: 365 })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user