Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -508,10 +508,10 @@ |
509 | 509 | var context = $(this).data( 'articleFeedback-context' ); |
510 | 510 | if ( !context ) { |
511 | 511 | // Create context |
512 | | - context = { '$ui': $(this), 'options': { 'ratings': {}, 'pitches': {},'bucket': 0 } }; |
| 512 | + context = { '$ui': $(this), 'options': { 'ratings': {}, 'pitches': {}, 'bucket': 0 } }; |
513 | 513 | // Allow customization through an options argument |
514 | 514 | if ( typeof args[0] === 'object' ) { |
515 | | - context = $.extend( context, { 'options': args[0] } ); |
| 515 | + context = $.extend( true, context, { 'options': args[0] } ); |
516 | 516 | } |
517 | 517 | // Build user interface |
518 | 518 | $.articleFeedback.fn.build.call( context ); |