adjust expand/collapse speed to match jquery default

This commit is contained in:
marijus 2014-06-16 21:13:11 +02:00
parent 4b1625dd16
commit 580c827cde

View File

@ -32,7 +32,7 @@
(function ($) {
var divgrowid = 0;
$.fn.divgrow = function (options) {
var options = $.extend({}, { initialHeight: 100, moreText: "+ Show More", lessText: "- Show Less", speed: 1000, showBrackets: true }, options);
var options = $.extend({}, { initialHeight: 100, moreText: "+ Show More", lessText: "- Show Less", speed: 400, showBrackets: true }, options);
return this.each(function () {
divgrowid++;