|
@@ -196,3 +196,11 @@ function restarRotate() {
|
|
}
|
|
}
|
|
if (rotateTimer == null) {
|
|
if (rotateTimer == null) {
|
|
rotateTimer = setTimeout(function () {
|
|
rotateTimer = setTimeout(function () {
|
|
|
|
+ // startRotate();
|
|
|
|
+ }, restartTime);
|
|
|
|
+ } else {
|
|
|
|
+ clearTimeout(rotateTimer);
|
|
|
|
+ rotateTimer = null;
|
|
|
|
+ restarRotate();
|
|
|
|
+ }
|
|
|
|
+}
|