We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675b18c commit dd4c34dCopy full SHA for dd4c34d
src/javascript/binary/common_functions/get_app_details.js
@@ -1,7 +1,9 @@
1
var buildOauthApps = function(data) {
2
var oauth_apps = {};
3
- for (var i = 0; i < data.length; i++) {
4
- oauth_apps[data[i].app_id] = data[i].name;
+ if (data) {
+ for (var i = 0; i < data.length; i++) {
5
+ oauth_apps[data[i].app_id] = data[i].name;
6
+ }
7
}
8
oauth_apps[2] = 'Binary.com Autoexpiry';
9
return oauth_apps;
src/javascript/binary/websocket_pages/trade/charts/highchartws.js
@@ -52,6 +52,7 @@ var Highchart = (function() {
52
var title = options.title;
53
// element where chart is to be displayed
54
var el = document.getElementById('analysis_live_chart');
55
+ if(!el) return;
56
57
var chartOptions = {
58
chart: {
0 commit comments