Created
October 23, 2012 04:41
-
-
Save JFickel/3936730 to your computer and use it in GitHub Desktop.
javascript not running
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
show.html.erb | |
<% content_for :javascript_includes do %> | |
<%= javascript_include_tag "colleges.js" %> | |
<% end %> | |
application.html.haml | |
!!! | |
%html | |
%head | |
%title= yield(:title) | |
= csrf_meta_tag | |
= javascript_include_tag "application" | |
= stylesheet_link_tag "application" | |
= yield :javascript_includes | |
assets/javascripts/colleges.js | |
var height = $("#college_public_chat").prop('scrollHeight'); | |
$("#college_public_chat").scrollTop(height); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment