From 2fd41f4e25e27646bbebae29656a98817f1afc31 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 10 Dec 2015 22:10:24 -0600 Subject: mode 755 --- StoneIsland/www/js/lib/blogs/StoryView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 StoneIsland/www/js/lib/blogs/StoryView.js (limited to 'StoneIsland/www/js/lib/blogs/StoryView.js') diff --git a/StoneIsland/www/js/lib/blogs/StoryView.js b/StoneIsland/www/js/lib/blogs/StoryView.js old mode 100644 new mode 100755 index 84684ff7..6450f0a1 --- 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() }, -- cgit v1.2.3-70-g09d2