diff --git a/src/jquery.molequul.js b/src/jquery.molequul.js index b71067c..96247f3 100755 --- a/src/jquery.molequul.js +++ b/src/jquery.molequul.js @@ -390,19 +390,17 @@ callback = callback || function(){}; callback.call( $elems ); - // set all data so we can retrieve it for appended appendedContent - // or anyone else's crazy jquery fun - this.data( 'molequul', props ); - return this; }, + resize : function() { var props = this.data('molequul'); return this.molequul( props.opts.layoutMode + 'Resize', props ); }, + reLayout : function( props ) { props = props || this.data('molequul'); props.initialized = true; @@ -527,6 +525,11 @@ $(window).unbind('smartresize.molequul'); } + + // set all data so we can retrieve it for appended appendedContent + // or anyone else's crazy jquery fun + $this.data( 'molequul', props ); + }); },