Fixing race condition with stories not being detected in Feed view when originally on the Original view.

This commit is contained in:
Samuel Clay 2011-06-05 17:52:47 -04:00
parent 0e3d48b9b1
commit ac3fd4630e

View file

@ -1603,7 +1603,7 @@
this.flags.iframe_story_locations_fetched = false;
var $iframe = this.$s.$feed_iframe.contents();
this.fetch_story_locations_in_story_frame(stories_count, false, $iframe);
if (this.story_view == 'feed') {
if (this.story_view == 'feed' || this.flags['page_view_showing_feed_view']) {
this.prefetch_story_locations_in_feed_view();
}
} else {