From 009401f8b04615e3172af05883638f4713fead5e Mon Sep 17 00:00:00 2001 From: Mike Street Date: Wed, 28 Sep 2016 16:12:59 +0100 Subject: [PATCH] Update Mike to contributor not author --- jquery.jsticky.js | 4 ++-- jquery.jsticky.min.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery.jsticky.js b/jquery.jsticky.js index ecc307b..b21e10e 100644 --- a/jquery.jsticky.js +++ b/jquery.jsticky.js @@ -1,7 +1,7 @@ /* jSticky Plugin * ============= * Author: Andrew Henderson (@AndrewHenderson) - * Author: Mike Street (@mikestreety) + * Contributor: Mike Street (@mikestreety) * Date: 9/7/2012 * Update: 09/20/2016 * Website: http://github.com/andrewhenderson/jsticky/ @@ -114,4 +114,4 @@ } }); }; -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/jquery.jsticky.min.js b/jquery.jsticky.min.js index 7b1a52b..92f87ff 100644 --- a/jquery.jsticky.min.js +++ b/jquery.jsticky.min.js @@ -1,11 +1,11 @@ /* jSticky Plugin * ============= * Author: Andrew Henderson (@AndrewHenderson) - * Author: Mike Street (@mikestreety) + * Contributor: Mike Street (@mikestreety) * Date: 9/7/2012 * Update: 09/20/2016 * Website: http://github.com/andrewhenderson/jsticky/ * Description: A jQuery plugin that keeps select DOM element(s) * in view while scrolling the page. */ -!function(t){t.fn.sticky=function(s){function i(){return"number"==typeof o.zIndex?!0:!1}function e(){return 0d){if(o.stickyClass&&i.addClass(o.stickyClass),i.after(l).css({position:"fixed",top:c,width:h}),r&&i.css({zIndex:a}),p&&s>n){var v=n-s+c;i.css({top:v})}}else o.stickyClass&&i.removeClass(o.stickyClass),i.css({position:"static",top:null,left:null,width:"auto"}),l.remove()}var i=t(this),e=i.outerHeight(),n=i.outerWidth(),c=o.topSpacing,a=o.zIndex,d=i.offset().top-c,l=t("
").width(n).height(e).addClass("sticky-placeholder"),f=o.stopper,u=t(window);u.innerHeight()>e&&(u.bind("scroll",s),u.bind("load",s),u.bind("resize",s))})}}(jQuery); \ No newline at end of file +!function(t){t.fn.sticky=function(s){function i(){return"number"==typeof o.zIndex?!0:!1}function e(){return 0d){if(o.stickyClass&&i.addClass(o.stickyClass),i.after(l).css({position:"fixed",top:c,width:h}),r&&i.css({zIndex:a}),p&&s>n){var v=n-s+c;i.css({top:v})}}else o.stickyClass&&i.removeClass(o.stickyClass),i.css({position:"static",top:null,left:null,width:"auto"}),l.remove()}var i=t(this),e=i.outerHeight(),n=i.outerWidth(),c=o.topSpacing,a=o.zIndex,d=i.offset().top-c,l=t("
").width(n).height(e).addClass("sticky-placeholder"),f=o.stopper,u=t(window);u.innerHeight()>e&&(u.bind("scroll",s),u.bind("load",s),u.bind("resize",s))})}}(jQuery);