Skip to main content
deleted 10 characters in body
Source Link
Mohith Shrivastava
  • 91.9k
  • 19
  • 161
  • 214

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1=isSF1 = typeof sforce ===!== 'undefined'?false:true;'undefined';

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1= typeof sforce === 'undefined'?false:true;

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1 = typeof sforce !== 'undefined';
added 4 characters in body
Source Link
Mohith Shrivastava
  • 91.9k
  • 19
  • 161
  • 214

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1= typeof sforce === 'undefined'?false:true;

var isSF1= typeof sforce === 'undefined'?false:true;

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1= typeof sforce === 'undefined'?false:true;

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1= typeof sforce === 'undefined'?false:true;
Source Link
Mohith Shrivastava
  • 91.9k
  • 19
  • 161
  • 214

This sounds like a bug to me although I have not tested it myself. Try opening case with support on this.

The other way would be to look for sforce.one context variable using JavaScript .Inside lightning experience context variable Sforce will be true.

var isSF1= typeof sforce === 'undefined'?false:true;