dlashlley - Hi, I wonder if we can get some su...

Hi, I wonder if we can get some support on why we getting these messages updating the QR screens in the console log of our app, they seem to be in constant loop even when we are on a page that doesn't have thoughtspot embeded. We noticed this when we made added some additional properties to thoughspot embed. - Has anyone seen this before? - How do we remove them/surppress the messages - Its quite hard to debug code when these appear They come from this piece of code, which we seem to be running in the background.
function updateQrCodeScreens() {
var qrCodeWrapper = jQuery(".scan-instructions-qrcode-wrapper");
var instructionsDetails = jQuery(".scan-instructions-details");
console.log("updating the QR screens");
if (qrCodeWrapper && jQuery(".scan-instructions-qrcode-wrapper").length) {
console.log("updating the QR screens wrapper");
// Move the QR code wrapper below the instructions details
qrCodeWrapper.detach().insertAfter(instructionsDetails);

// Center-align the QR code and its contents
qrCodeWrapper.css({
"text-align": "center",
"margin-top": "20px",
"margin-right": "auto",
"margin-left": "auto",
float: "none",
});
function updateQrCodeScreens() {
var qrCodeWrapper = jQuery(".scan-instructions-qrcode-wrapper");
var instructionsDetails = jQuery(".scan-instructions-details");
console.log("updating the QR screens");
if (qrCodeWrapper && jQuery(".scan-instructions-qrcode-wrapper").length) {
console.log("updating the QR screens wrapper");
// Move the QR code wrapper below the instructions details
qrCodeWrapper.detach().insertAfter(instructionsDetails);

// Center-align the QR code and its contents
qrCodeWrapper.css({
"text-align": "center",
"margin-top": "20px",
"margin-right": "auto",
"margin-left": "auto",
float: "none",
});
No description
1 Reply
shikharTS
shikharTS4mo ago
I do not see this code in the TS SDK.. Where is this code from? I do not think TS is doing this.

Did you find this page helpful?