From 8d2ce219985d3cb454ce2918829d492cd4a5c6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 26 Apr 2016 17:03:11 +0200 Subject: [PATCH] Fix typo startswith -> startsWith --- src/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.js b/src/rpc.js index cac94e79f7..361892bf68 100644 --- a/src/rpc.js +++ b/src/rpc.js @@ -83,7 +83,7 @@ 'glyphicon-alert').always(dfd.reject); return; } - } else if (data.error[0].startswith('403')) { + } else if (data.error[0].startsWith('403')) { //Try to relog Sao.Session.renew(session).then(function() { Sao.rpc(args, session).then(dfd.resolve, dfd.reject);