Skip to content

Commit

Permalink
change to production ebi service for smiles2ctab. Trim cookie name
Browse files Browse the repository at this point in the history
before checking in app route
  • Loading branch information
ianwdunlop committed Feb 20, 2015
1 parent c7a6102 commit 1645a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ App.ApplicationRoute = Ember.Route.extend({
var ca = document.cookie.split(';');
ca.forEach(function(cookie, index, cookies) {
var cookieData = cookie.split('=');
if (cookieData[0] === "explorerCookieAcceptance") {
if (cookieData[0].trim() === "explorerCookieAcceptance") {
controller.set('cookieAcceptance', true);
}
});
Expand Down
2 changes: 1 addition & 1 deletion public/ketcher/ui/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
***************************************************************************/
var ebi_smiles_to_ctab_url = "https://wwwdev.ebi.ac.uk/chembl/api/utils/smiles2ctab";
var ebi_smiles_to_ctab_url = "https://www.ebi.ac.uk/chembl/api/utils/smiles2ctab";
if (typeof(ui) == 'undefined')
ui = function () {};

Expand Down

0 comments on commit 1645a98

Please sign in to comment.