Skip to content

Commit

Permalink
Only load BrowserID JS on login page (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmans committed Mar 8, 2012
1 parent 7338276 commit e886f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/views/layout.haml
Expand Up @@ -29,5 +29,4 @@
- if production? && config.gauges_id.present?
= partial 'gauges'

%script{ :type => 'text/javascript', :src => '//browserid.org/include.js' }
%script{ :type => 'text/javascript', :src => "/assets/schnitzelpress.#{ASSET_TIMESTAMP}.js" }
2 changes: 2 additions & 0 deletions lib/views/login.haml
Expand Up @@ -15,3 +15,5 @@
%p
Since you're running Schnitzelpress in development mode, you can also use
the <a href="/auth/developer">development login provider</a>.

%script{ :type => 'text/javascript', :src => '//browserid.org/include.js' }

0 comments on commit e886f6c

Please sign in to comment.