Skip to content

Commit

Permalink
per master issue CodeSeven#438
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Mar 24, 2017
1 parent c85e612 commit 42730d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion toastr.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

function getContainer(options, create) {
if (!options) { options = getOptions(); }
$container = $('#' + options.containerId);
$container = $('#' + options.containerId + '[position =' + options.positionClass + ']');
if ($container.length) {
return $container;
}
Expand Down Expand Up @@ -144,6 +144,7 @@
function createContainer(options) {
$container = $('<div/>')
.attr('id', options.containerId)
.attr('position', options.positionClass)
.addClass(options.positionClass);

$container.appendTo($(options.target));
Expand Down

0 comments on commit 42730d7

Please sign in to comment.