From bf6311970926d11596516ec6542f2fb943ade509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Sun, 14 Jun 2015 16:28:58 +0200 Subject: [PATCH] Found a fix for settings bar not always closing --- php/panel.php | 5 ++++- static/js/youtube.js | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/php/panel.php b/php/panel.php index 81f8fa7c..5fd8a2df 100755 --- a/php/panel.php +++ b/php/panel.php @@ -91,6 +91,7 @@ +
  • diff --git a/static/js/youtube.js b/static/js/youtube.js index 7034540a..6e96e3a9 100755 --- a/static/js/youtube.js +++ b/static/js/youtube.js @@ -96,7 +96,9 @@ $(document).ready(function() closeOnClick: false // Closes side-nav on clicks, useful for Angular/Meteor }); - $('#settings-close').sideNav('hide'); + $(".drag-target")[1].remove(); + + //$('#settings-close').sideNav('hide'); if(!window.mobilecheck() && !msieversion()) {