diff --git a/_posts/docs/2010-12-10-adding-items.mdown b/_posts/docs/2010-12-10-adding-items.mdown index 52d629a..392b2f4 100644 --- a/_posts/docs/2010-12-10-adding-items.mdown +++ b/_posts/docs/2010-12-10-adding-items.mdown @@ -22,7 +22,7 @@ The [`addItems` method](methods.html#additems) adds new content to an Isotope co {% highlight javascript %} var $newItems = $('
'); -$('#container').append( $newItems ).isotope({ 'addItems', $newItems }); +$('#container').append( $newItems ).isotope( 'addItems', $newItems ); {% endhighlight %} @@ -33,7 +33,7 @@ More likely, you want to use the [`insert` method](methods.html#insert), which d {% highlight javascript %} var $newItems = $(''); -$('#container').isotope({ 'insert', $newItems }); +$('#container').isotope( 'insert', $newItems ); {% endhighlight %}