Permalink
Browse files

let closelabel.png and loading.gif respect the asset host

  • Loading branch information...
jhass committed Oct 16, 2012
1 parent 7e0c8bd commit 107b7b1cbace49003bf1f5fe19460184b3aac79c
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/assets/javascripts/view.js
@@ -64,8 +64,8 @@ var View = {
$(document.body).click(this.dropdowns.removeFocus);
/* facebox */
- $.facebox.settings.closeImage = '/assets/facebox/closelabel.png';
- $.facebox.settings.loadingImage = '/assets/facebox/loading.gif';
+ $.facebox.settings.closeImage = app.baseImageUrl()+'facebox/closelabel.png';
+ $.facebox.settings.loadingImage = app.baseImageUrl()+'facebox/loading.gif';
$.facebox.settings.opacity = 0.75;
$('a[rel*=facebox]').facebox();

0 comments on commit 107b7b1

Please sign in to comment.