Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@
}());

var frame = (function() {
var autoGrowTimer;
return {
/**
* @public
Expand Down Expand Up @@ -715,9 +716,10 @@
var ival = ($$.isNil(interval)) ? 300 : interval;
autog = ($$.isNil(b)) ? true : b;
if (autog === false) {
clearTimeout(autoGrowTimer);
return;
}
setTimeout(function () {
autoGrowTimer = setTimeout(function () {
submodules.frame.resize(client);
submodules.frame.autogrow(client, autog);
},ival);
Expand Down