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