fix initialization routines

This commit is contained in:
ansuz committed 2016-02-12 16:21:52 +01:00
1 parent f1915d3b7c
commit 4a05a859e6
3 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ define([
var to,
delay = 500;
return function (content) {
to && clearTimeout(to);
if (to) { clearTimeout(to); }
to = setTimeout(function () {
$style.text(content);
},delay);