Skip to content

Commit

Permalink
backport of activeadmin#3776
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschilling authored and snow committed May 11, 2017
1 parent fea5d43 commit aae9601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.AA.CheckboxToggler = class AA.CheckboxToggler
constructor: (@options, @container)->
defaults = {}
@options = $.extend {}, defaults, options
@options = $.extend {}, defaults, @options
@_init()
@_bind()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ window.AA.DropdownMenu = class AA.DropdownMenu
onClickActionItemCallback: null
}

@options = $.extend({}, defaults, options)
@options = $.extend({}, defaults, @options)

@$menuButton = @$element.find(".dropdown_menu_button")
@$menuList = @$element.find(".dropdown_menu_list_wrapper")
Expand Down

0 comments on commit aae9601

Please sign in to comment.