Permalink
Browse files

Error en engine.js, faltaba cerrar un paréntesis

  • Loading branch information...
eddie-ruva committed Nov 3, 2011
1 parent 7bbdb72 commit 6d696950591a5a98345d241bf9089d942b3cd49e
Showing with 2 additions and 3 deletions.
  1. +0 −1 app/assets/javascripts/engine.js
  2. +2 −2 app/views/layouts/application.html.erb
@@ -100,7 +100,6 @@ window.addEventListener('load', function(e) {
setTimeout(function() { window.scrollTo(0, 1); }, 1);
}, false);
-);
function mandaRegalo(premio) {
premio = parseInt(premio);
@@ -25,12 +25,12 @@
<script src="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.js"></script>
<%= javascript_include_tag "jquery.mobile.simpledialog.min.js" %>
- <script type="text/javascript">
+ <script type="text/javascript">
function invalidateBackCache() {
// necessary for Safari: mobile & desktop
}
- window.addEventListener("unload", invalidateBackCache, false
+ window.addEventListener("unload", invalidateBackCache, false);
</script>
<%= csrf_meta_tag %>

0 comments on commit 6d69695

Please sign in to comment.