summary refs log tree commit diff
path: root/docs/client-server/web/files/jquery.slideto.min.js
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-01 15:51:44 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-01 15:51:44 +0100
commitf5755bcadfe6d27f1449f85f8b846ca4b02e5f20 (patch)
treebfb9f36038c0728de5411059f3af97a4be473509 /docs/client-server/web/files/jquery.slideto.min.js
parentFix homeserver config parsing (diff)
parentRename API-visible 'mtime' presence field to 'last_active'; slightly differen... (diff)
downloadsynapse-f5755bcadfe6d27f1449f85f8b846ca4b02e5f20.tar.xz
Merge branch 'develop' into server2server_tls
Diffstat (limited to 'docs/client-server/web/files/jquery.slideto.min.js')
-rw-r--r--docs/client-server/web/files/jquery.slideto.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/client-server/web/files/jquery.slideto.min.js b/docs/client-server/web/files/jquery.slideto.min.js
new file mode 100644
index 0000000000..ba32cff365
--- /dev/null
+++ b/docs/client-server/web/files/jquery.slideto.min.js
@@ -0,0 +1 @@
+(function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery);