Skip to content

Commit

Permalink
fixed no align option in media settings modal window (FS#2411)
Browse files Browse the repository at this point in the history
  • Loading branch information
selfthinker committed Dec 27, 2011
1 parent c999630 commit eb2f7e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/scripts/media.js
Expand Up @@ -253,8 +253,10 @@ var dw_mediamanager = {
}
}
}
alignleft = dw_mediamanager.align === '2' ? '' : ' ';
alignright = dw_mediamanager.align === '4' ? '' : ' ';
if (dw_mediamanager.align !== '1') {
alignleft = dw_mediamanager.align === '2' ? '' : ' ';
alignright = dw_mediamanager.align === '4' ? '' : ' ';
}
}
}
edid = String.prototype.match.call(document.location, /&edid=([^&]+)/);
Expand Down

0 comments on commit eb2f7e5

Please sign in to comment.