Javascript widget fixed
This commit is contained in:
parent
d58eb62d68
commit
6e333d5075
|
@ -27,7 +27,7 @@ class MergeRequest
|
||||||
this.$el.find(selector)
|
this.$el.find(selector)
|
||||||
|
|
||||||
initMergeWidget: ->
|
initMergeWidget: ->
|
||||||
this.showState( @opts.current_state )
|
this.showState( @opts.current_status )
|
||||||
|
|
||||||
if this.$('.automerge_widget').length and @opts.check_enable
|
if this.$('.automerge_widget').length and @opts.check_enable
|
||||||
$.get @opts.url_to_automerge_check, (data) =>
|
$.get @opts.url_to_automerge_check, (data) =>
|
||||||
|
|
Loading…
Reference in a new issue