chore(Viewer): compress code

This commit is contained in:
Nico Rehwaldt 2014-12-08 14:04:44 +01:00
parent ee4550867d
commit 7246b75708
1 changed files with 1 additions and 3 deletions

View File

@ -50,9 +50,7 @@ function Viewer(options) {
var parent = options.container || $('body');
var container = $('<div></div>').addClass('bjs-container').css({
position: 'relative'
}).appendTo(parent);
var container = $('<div class="bjs-container" style="position: relative"></div>').appendTo(parent);
container.css('width', options.width || '100%');
container.css('height', options.height || '100%');