mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 18:29:40 +02:00
Fix temporary playlist initial position when scrolling (fix #901)
This commit is contained in:
parent
f627d3ee3a
commit
620ca4056f
2 changed files with 14 additions and 1 deletions
|
@ -45,10 +45,10 @@ function initTabs()
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
var rightmenu = $("#rightbar");
|
var rightmenu = $("#rightbar");
|
||||||
var rightsubmenu = $("#rightbar .submenu");
|
|
||||||
var pos = rightmenu.offset();
|
var pos = rightmenu.offset();
|
||||||
if (rightmenu.hasClass('rightbar-float')) {
|
if (rightmenu.hasClass('rightbar-float')) {
|
||||||
$(window).scroll(function() {
|
$(window).scroll(function() {
|
||||||
|
var rightsubmenu = $("#rightbar .submenu");
|
||||||
if ($(this).scrollTop() > (pos.top)) {
|
if ($(this).scrollTop() > (pos.top)) {
|
||||||
rightmenu.addClass('fixedrightbar');
|
rightmenu.addClass('fixedrightbar');
|
||||||
rightsubmenu.addClass('fixedrightbarsubmenu');
|
rightsubmenu.addClass('fixedrightbarsubmenu');
|
||||||
|
|
|
@ -11,6 +11,18 @@ auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.tab-size=4
|
||||||
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=80
|
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=80
|
||||||
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap=none
|
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap=none
|
||||||
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=project
|
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=project
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.html.CodeStyle.project.expand-tabs=true
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.html.CodeStyle.project.indent-shift-width=4
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.html.CodeStyle.project.spaces-per-tab=4
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.html.CodeStyle.project.tab-size=4
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.html.CodeStyle.project.text-limit-width=80
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.html.CodeStyle.project.text-line-wrap=none
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.javascript.CodeStyle.project.expand-tabs=true
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.javascript.CodeStyle.project.indent-shift-width=4
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.javascript.CodeStyle.project.spaces-per-tab=4
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.javascript.CodeStyle.project.tab-size=4
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.javascript.CodeStyle.project.text-limit-width=80
|
||||||
|
auxiliary.org-netbeans-modules-editor-indent.text.javascript.CodeStyle.project.text-line-wrap=none
|
||||||
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.blankLinesAfterFunction=0
|
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.blankLinesAfterFunction=0
|
||||||
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.blankLinesBeforeField=0
|
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.blankLinesBeforeField=0
|
||||||
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.classDeclBracePlacement=NEW_LINE
|
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.classDeclBracePlacement=NEW_LINE
|
||||||
|
@ -21,6 +33,7 @@ auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.space
|
||||||
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.tab-size=4
|
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.tab-size=4
|
||||||
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.text-limit-width=80
|
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.text-limit-width=80
|
||||||
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.text-line-wrap=none
|
auxiliary.org-netbeans-modules-editor-indent.text.x-php5.CodeStyle.project.text-line-wrap=none
|
||||||
|
auxiliary.org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder=lib/vendor/components/jqueryui/ui/i18n
|
||||||
include.path=${php.global.include.path}
|
include.path=${php.global.include.path}
|
||||||
php.version=PHP_53
|
php.version=PHP_53
|
||||||
project.licensePath=./nbproject/licenseheader.txt
|
project.licensePath=./nbproject/licenseheader.txt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue