Skip to content

Commit

Permalink
Merge pull request #3776 from aaronsakowski/master
Browse files Browse the repository at this point in the history
Ambiguous coffeescript leading to occasional javascript errors
  • Loading branch information
timoschilling committed Jan 30, 2015
2 parents 762d2b9 + 553e988 commit b3a9f4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1,7 +1,7 @@
class ActiveAdmin.CheckboxToggler
constructor: (@options, @container)->
defaults = {}
@options = $.extend defaults, options
@options = $.extend defaults, @options
@_init()
@_bind()

Expand Down
Expand Up @@ -9,7 +9,7 @@ class ActiveAdmin.DropdownMenu
onClickActionItemCallback: null
}

@options = $.extend defaults, options
@options = $.extend defaults, @options
@isOpen = false

@$menuButton = @$element.find '.dropdown_menu_button'
Expand Down

0 comments on commit b3a9f4b

Please sign in to comment.