fixed iframe & spinner asset path.

This commit is contained in:
saman bb
2012-12-21 19:12:10 -05:00
parent 798da1adde
commit e6cf1c8e8a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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', '')
+1 -1
View File
@@ -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;