Skip to content

Commit 25ebbc3

Browse files
n-rodriguezCopilot
andauthored
Fix error: unexpected =
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent a2ad143 commit 25ebbc3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/bootstrap-notify.coffee

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,8 @@
204204
zIndex: @settings.z_index + 1
205205
return
206206

207-
isFunction = (element) ->
208-
return typeof element === 'function';
209-
207+
isFunction: (element) ->
208+
typeof element == 'function'
210209
placement: ->
211210
self = this
212211
offsetAmt = @settings.offset.y

0 commit comments

Comments
 (0)