mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
1 line
451 B
JavaScript
1 line
451 B
JavaScript
!function($){$&&($.fn.headroom=function(option){return this.each(function(){var $this=$(this),data=$this.data("headroom"),options="object"==typeof option&&option;options=$.extend(!0,{},Headroom.options,options),data||(data=new Headroom(this,options),data.init(),$this.data("headroom",data)),"string"==typeof option&&data[option]()})},$("[data-headroom]").each(function(){var $this=$(this);$this.headroom($this.data())}))}(window.Zepto||window.jQuery); |