Browse files

fixed iframe & spinner asset path.

  • Loading branch information...
1 parent 798da1a commit e6cf1c8e8ac700a2b55f11eee9a7a7d2fcbbe85c @samanpwbb samanpwbb committed Dec 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 js/id/oauth.js
  2. +1 −1 js/id/ui/loading.js
View
2 js/id/oauth.js
@@ -79,7 +79,7 @@ iD.OAuth = function() {
modal
.select('.content')
.append('iframe')
- .attr({ width: 640, height: 550, frameborder: 'no' })
+ .attr({ width: "100%", height: 550, frameborder: 'no' })
.attr('src', baseurl + '/oauth/authorize?' + ohauth.qsString({
oauth_token: resp.oauth_token,
oauth_callback: location.href.replace('index.html', '')
View
2 js/id/ui/loading.js
@@ -4,7 +4,7 @@ iD.loading = function(message) {
var loadertext = modal.select('.content')
.classed('loading-modal', true)
.append('div').classed('modal-section',true);
- loadertext.append('img').attr('class','loader').attr('src', '../img/loader.gif');
+ loadertext.append('img').attr('class','loader').attr('src', '/img/loader.gif');
loadertext.append('h3').text(message || '');
return modal;

0 comments on commit e6cf1c8

Please sign in to comment.