mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed split errors and some sidenav issues
This commit is contained in:
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -76,14 +76,16 @@ $(document).ready(function()
|
|||||||
List.channel_listener();
|
List.channel_listener();
|
||||||
List.skipping_listener();
|
List.skipping_listener();
|
||||||
|
|
||||||
|
$('ul.tabs').tabs();
|
||||||
$("#settings").sideNav({
|
$("#settings").sideNav({
|
||||||
menuWidth: 300, // Default is 240
|
menuWidth: 300, // Default is 240
|
||||||
edge: 'right', // Choose the horizontal origin
|
edge: 'right', // Choose the horizontal origin
|
||||||
closeOnClick: true // Closes side-nav on <a> clicks, useful for Angular/Meteor
|
closeOnClick: false // Closes side-nav on <a> clicks, useful for Angular/Meteor
|
||||||
});
|
});
|
||||||
$('.collapsible').collapsible({
|
$('.collapsible').collapsible({
|
||||||
accordion : true // A setting that changes the collapsible behavior to expandable instead of the default accordion style
|
accordion : true // A setting that changes the collapsible behavior to expandable instead of the default accordion style
|
||||||
});
|
});
|
||||||
|
|
||||||
//awdwad
|
//awdwad
|
||||||
$(".video-container").resizable({
|
$(".video-container").resizable({
|
||||||
start: function(event, ui) {
|
start: function(event, ui) {
|
||||||
@@ -367,7 +369,7 @@ window.onpopstate = function(e){
|
|||||||
function onepage_load(){
|
function onepage_load(){
|
||||||
|
|
||||||
var url_split = window.location.href.split("/");
|
var url_split = window.location.href.split("/");
|
||||||
if(url_split[3] == "" && url_split[3].substring(0,1) != "#" && url_split[4].substring(0,1) != "#"){
|
if(url_split[3] == "" || url_split[3].substring(0,1) == "#"){
|
||||||
$("#channel-load").css("display", "block");
|
$("#channel-load").css("display", "block");
|
||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user