mirror of
https://github.com/bckelley/avogadrio.git
synced 2026-08-24 10:14:10 -05:00
Fix multi-word compound name lookup
This commit is contained in:
@@ -11,8 +11,8 @@ $(document).ready ->
|
||||
invalidCompoundMessage = $ '.row-error'
|
||||
|
||||
getCompoundName = ->
|
||||
encodeURIComponent(compoundTextBox.val()).replace /\s/g, ''
|
||||
window.getCompoundName = getCompoundName
|
||||
encodeURIComponent compoundTextBox.val().replace(/\s/g, '')
|
||||
|
||||
# URL builder functions for API.
|
||||
|
||||
buildUrl = (width, height, foreground, background, name) ->
|
||||
|
||||
Reference in New Issue
Block a user