diff options
| author | okfprojz <jules+okfprojz@okfoc.us> | 2016-04-12 20:00:31 -0400 |
|---|---|---|
| committer | okfprojz <jules+okfprojz@okfoc.us> | 2016-04-12 20:00:31 -0400 |
| commit | d390f110b3d451b859ebbc1889024f12dc829264 (patch) | |
| tree | 305ba19758a9f65a4d53f3db191a7acd0475ffed /public/assets/js/lib/ProjectView.js | |
| parent | ee2dbfec14e8b10e014f2b17a03dea643a512e5d (diff) | |
| parent | 71498e57e5d7604eb32452a3a0647dce3a54b6e6 (diff) | |
db
Diffstat (limited to 'public/assets/js/lib/ProjectView.js')
| -rw-r--r-- | public/assets/js/lib/ProjectView.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/assets/js/lib/ProjectView.js b/public/assets/js/lib/ProjectView.js index e9835ec..66bb3b6 100644 --- a/public/assets/js/lib/ProjectView.js +++ b/public/assets/js/lib/ProjectView.js @@ -17,6 +17,7 @@ var ProjectView = View.extend({ this.images = this.$images.toArray().map(function(img){ return $(img).data("uri") }) + if (is_mobile) { this.$iframes.remove() this.$videos.remove() @@ -76,6 +77,7 @@ var ProjectView = View.extend({ }, show: function(){ + var audio = this.$("audio") app.header.updatePageNumber( this.page_number ) app.header.updateSlideNumber( 0 ) app.header.updateSlideCount( this.slide_count ) @@ -87,6 +89,7 @@ var ProjectView = View.extend({ } else { app.router.pushState("/project/" + this.project_id) + } this.$images.each(function(){ @@ -120,6 +123,7 @@ var ProjectView = View.extend({ }, hide: function(){ + addClassForPeriod( this.el, "hiding", app.navigation_delay, function(){ this.reset() }.bind(this) ) |
