Merge branch 'devel'
This commit is contained in:
commit
7a405b4973
@ -27,7 +27,6 @@ $(document).ready(function() {
|
||||
btn_add = $('#add_btn');
|
||||
switchAutoFlow = $("#autoflow");
|
||||
|
||||
$('.tooltipped').tooltip();
|
||||
setInterval("getCurentMusic()", 1000);
|
||||
$('#modalAdd').modal();
|
||||
|
||||
|
@ -11,6 +11,7 @@ var nav_name;
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.tooltipped').tooltip();
|
||||
$('#nav-mobile').sidenav({
|
||||
menuWidth: 400, // Default is 300
|
||||
edge: 'left', // Choose the horizontal origin
|
||||
@ -111,7 +112,7 @@ function tryConnection() {
|
||||
Cookies.set('token',data.token, { expires: 31 });
|
||||
Cookies.set('name', data.name, { expires: 31 });
|
||||
debugger;
|
||||
location.reload();
|
||||
window.location.reload(true);
|
||||
}
|
||||
|
||||
}).fail(function (data) {
|
||||
@ -156,7 +157,7 @@ function navListeners() {
|
||||
Cookies.remove('token');
|
||||
Cookies.remove('name');
|
||||
Cookies.remove('guild');
|
||||
location.reload();
|
||||
window.location.reload(true);
|
||||
});
|
||||
|
||||
$('#guild_form').change(function () {
|
||||
@ -168,13 +169,12 @@ function navListeners() {
|
||||
$('#btn_ok_guild').click(function () {
|
||||
guild = $('input[name=guildRadio]:checked').val();
|
||||
Cookies.set('guild', guild, { expires: 31 });
|
||||
location.reload();
|
||||
|
||||
window.location.reload(true);
|
||||
});
|
||||
|
||||
$('.nav-change-guild').click(function () {
|
||||
Cookies.remove('guild');
|
||||
location.reload();
|
||||
window.location.reload(true);
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -159,8 +159,8 @@
|
||||
<div id="modal_guild" class="modal">
|
||||
<div class="modal-content" style="padding-bottom: 0px">
|
||||
<div class="row" style="margin-bottom: 0px">
|
||||
<h3 class="col s12 center">Guild Selection</h3>
|
||||
<div class="col offset-s4 s4 center">
|
||||
<h3 class="col l12 m12 s12 center">Guild Selection</h3>
|
||||
<div class="col l4 offset-l4 m8 offset-m4 offset-s3 s8 center">
|
||||
<form id="guild_form" action="#" class="left-align">
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user