| changeset 118 | 124f7745a3d6 |
| parent 81 | a2befc2110c1 |
| 117:8197ce074d6d | 118:124f7745a3d6 |
|---|---|
512 return false; |
512 return false; |
513 }); |
513 }); |
514 |
514 |
515 $("#btnInfo, .lightBoxClose").click(function() { |
515 $("#btnInfo, .lightBoxClose").click(function() { |
516 $(".lightBoxWrap").toggle(); |
516 $(".lightBoxWrap").toggle(); |
517 if (currentMedia) { |
|
518 if ($(".lightBoxWrap").is(":visible")) { |
|
519 currentMedia.pause(); |
|
520 } else { |
|
521 currentMedia.play(); |
|
522 } |
|
523 } |
|
517 return false; |
524 return false; |
518 }); |
525 }); |
519 |
526 |
520 } |
527 } |