Comparing version 0.23.0 to 0.24.0
{ | ||
"name": "garden", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"description": "A styleguide based on Leroy Merlin needs", | ||
@@ -5,0 +5,0 @@ "main": "dist/js/garden.min.js", |
@@ -23,2 +23,3 @@ import $ from 'jquery' | ||
init () { | ||
this.$container = $(this.options.container) | ||
this._createModal() | ||
@@ -76,2 +77,3 @@ | ||
this.$content.addClass('modal-content-enter') | ||
this.$container.addClass('no-scroll') | ||
@@ -95,2 +97,4 @@ window.setTimeout(() => { | ||
this.$container.removeClass('no-scroll') | ||
window.setTimeout(() => { | ||
@@ -120,3 +124,3 @@ this.$modal.removeClass('modal-enter modal-leave') | ||
$(this.options.container).append(this.$modal) | ||
this.$container.append(this.$modal) | ||
@@ -123,0 +127,0 @@ this._bindTrigger() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
131
4911
401831