diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-10 22:10:24 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-10 22:10:24 -0600 |
| commit | 2fd41f4e25e27646bbebae29656a98817f1afc31 (patch) | |
| tree | 2c56a8c34069d515d0b16a8fb050b9e4dfeeeb30 /StoneIsland/www/js/lib/blogs/StoryView.js | |
| parent | 015b58ff6845b5cb79b13fec109a37b4c10c7813 (diff) | |
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/StoryView.js')
| -rwxr-xr-x[-rw-r--r--] | StoneIsland/www/js/lib/blogs/StoryView.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/blogs/StoryView.js b/StoneIsland/www/js/lib/blogs/StoryView.js index 84684ff7..6450f0a1 100644..100755 --- a/StoneIsland/www/js/lib/blogs/StoryView.js +++ b/StoneIsland/www/js/lib/blogs/StoryView.js @@ -58,7 +58,11 @@ var StoryView = ScrollableView.extend({ this.$content.find("[data-id=" + id + "]").addClass("active") var section = this.sections[id] - this.$img.attr("src", section.image.uri) + + this.$img.fadeTo(110,0.65, function() { + this.$img.attr("src", section.image.uri) + }.bind(this)).fadeTo(130,1) + this.deferScrollToTop() }, |
