mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update closing of streams
This commit is contained in:
parent
d43c5874f2
commit
63d66a049a
78 changed files with 643 additions and 367 deletions
45
dashboard-ui/bower_components/headroomjs/dist/jQuery.headroom.js
vendored
Normal file
45
dashboard-ui/bower_components/headroomjs/dist/jQuery.headroom.js
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*!
|
||||
* headroom.js v0.7.0 - Give your page some headroom. Hide your header until you need it
|
||||
* Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
|
||||
if(!$) {
|
||||
return;
|
||||
}
|
||||
|
||||
////////////
|
||||
// Plugin //
|
||||
////////////
|
||||
|
||||
$.fn.headroom = function(option) {
|
||||
return this.each(function() {
|
||||
var $this = $(this),
|
||||
data = $this.data('headroom'),
|
||||
options = typeof option === 'object' && option;
|
||||
|
||||
options = $.extend(true, {}, Headroom.options, options);
|
||||
|
||||
if (!data) {
|
||||
data = new Headroom(this, options);
|
||||
data.init();
|
||||
$this.data('headroom', data);
|
||||
}
|
||||
if (typeof option === 'string') {
|
||||
data[option]();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
//////////////
|
||||
// Data API //
|
||||
//////////////
|
||||
|
||||
$('[data-headroom]').each(function() {
|
||||
var $this = $(this);
|
||||
$this.headroom($this.data());
|
||||
});
|
||||
|
||||
}(window.Zepto || window.jQuery));
|
Loading…
Add table
Add a link
Reference in a new issue