mirror of https://github.com/calzoneman/sync.git
more fixes
This commit is contained in:
parent
cc8c2d8463
commit
a3138abd38
|
@ -239,12 +239,12 @@ function registerChannel(name) {
|
|||
}
|
||||
|
||||
function loadChannel(chan) {
|
||||
if(!name.match(/^[a-zA-Z0-9-_]+$/)) {
|
||||
if(!chan.name.match(/^[a-zA-Z0-9-_]+$/)) {
|
||||
return false;
|
||||
}
|
||||
var db = getConnection();
|
||||
if(!db) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
var query = createQuery(
|
||||
|
|
|
@ -617,7 +617,6 @@ Callbacks = {
|
|||
},
|
||||
|
||||
changeMedia: function(data) {
|
||||
console.log(data);
|
||||
$("#currenttitle").text("Currently Playing: " + data.title);
|
||||
if(data.type != "sc" && PLAYER.type == "sc")
|
||||
// [](/goddamnitmango)
|
||||
|
|
|
@ -292,10 +292,10 @@
|
|||
<script src="./assets/js/jquery.js"></script>
|
||||
<!-- My Javascript -->
|
||||
<script src="./assets/js/iourl.js"></script>
|
||||
<script src="./assets/js/functions.js"></script>
|
||||
<script src="./assets/js/callbacks.js"></script>
|
||||
<script src="./assets/js/media.js"></script>
|
||||
<script src="./assets/js/functions.js"></script>
|
||||
<script src="./assets/js/client.js"></script>
|
||||
<script src="./assets/js/callbacks.js"></script>
|
||||
<!-- APIs -->
|
||||
<script src="http://api.dmcdn.net/all.js"></script>
|
||||
<script src="http://jwpsrv.com/library/QouFCLBMEeKC+CIACpYGxA.js"></script>
|
||||
|
|
Loading…
Reference in New Issue