()
| 1458 | //it is less complicated to use a flag than managing and canceling |
| 1459 | //timeouts containing multiple callbacks. |
| 1460 | function fireDOMOperation() { |
| 1461 | if (!fireDOMOperation.hasBeenRun) { |
| 1462 | fireDOMOperation.hasBeenRun = true; |
| 1463 | domOperation(); |
| 1464 | } |
| 1465 | } |
| 1466 | |
| 1467 | function closeAnimation() { |
| 1468 | if (!closeAnimation.hasBeenRun) { |