console.log("begin page\show_page_on_index.js.erb"); console.log("leaving collapsible open!"); //$('#article_subjects').collapsible( "option", "collapsed", true); $.mobile.loading('hide'); //$('.revisions').html('').trigger('create'); $(".page_content").remove(); if ( $(".home-page-carousel-to-hide").length == 0 ) { $(".home-page-carousel").attr('class', 'home-page-carousel-to-hide'); console.log("hide carousel next time"); } else { $(".home-page-carousel-to-hide").remove(); console.log("hide carousel"); } console.log("@first_page: false "); $('#yield_content').append('\n\n
\n\n