Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved carousel js file to public

  • Loading branch information...
commit 209f96309d3103bc7d9c045b155da99523d1e6a7 1 parent df482f7
@RajRoR authored
View
2  app/views/layouts/application.html.haml
@@ -15,7 +15,7 @@
%title Avoin Ministeriö
= stylesheet_link_tag "application.css"
- = javascript_include_tag "application", "jquery.carousel-min"
+ = javascript_include_tag "application", "javascripts/jquery.carousel.min.js"
/= javascript_include_tag "vote-flow/impact-code" if params[:controller] == "ideas" and params[:action] == "vote_flow"
:javascript
if (window.location.hash == '#_=_') {
View
2  app/views/pages/_drafts.html.haml
@@ -30,4 +30,4 @@
- if section == "proposal"
:javascript
- $("div.proposal-section").carousel( { loop: true, dispItems: 3 } );
+ $(function() { $("div.proposal-section").carousel( { loop: true, dispItems: 3 } ); });
View
0  ...assets/javascripts/jquery.carousel-min.js → ...assets/javascripts/jquery.carousel.min.js
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.