chore(Viewer): compress code
This commit is contained in:
parent
ee4550867d
commit
7246b75708
|
@ -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%');
|
||||
|
|
Loading…
Reference in New Issue