diff --git a/index.html b/index.html
index e27b512b3..13f3e1fc7 100644
--- a/index.html
+++ b/index.html
@@ -19,7 +19,7 @@
-
+
diff --git a/libs/app.bundle.js b/libs/app.bundle.js
index 00b374419..dc8cacf06 100644
--- a/libs/app.bundle.js
+++ b/libs/app.bundle.js
@@ -14436,11 +14436,12 @@ var Recording = {
return;
}
+ var self = this;
// Jirecon does not (currently) support a token.
if (!recordingToken && !useJirecon) {
tokenEmptyCallback(function (value) {
setRecordingToken(value);
- this.toggleRecording();
+ self.toggleRecording();
});
return;
diff --git a/modules/xmpp/recording.js b/modules/xmpp/recording.js
index f3f91ed12..7ec8bce72 100644
--- a/modules/xmpp/recording.js
+++ b/modules/xmpp/recording.js
@@ -103,11 +103,12 @@ var Recording = {
return;
}
+ var self = this;
// Jirecon does not (currently) support a token.
if (!recordingToken && !useJirecon) {
tokenEmptyCallback(function (value) {
setRecordingToken(value);
- this.toggleRecording();
+ self.toggleRecording();
});
return;