This reverts commit 228180b1ef.
This commit is contained in:
committed by
GitHub
parent
228180b1ef
commit
adf879e8b2
@@ -176,7 +176,7 @@ define(
|
||||
*
|
||||
*/
|
||||
xhrProgressHandler: function(event, position, total, percentComplete) {
|
||||
var percentVal = `${percentComplete}%`;
|
||||
var percentVal = percentComplete + '%';
|
||||
|
||||
this.$progress
|
||||
.width(percentVal)
|
||||
|
||||
@@ -204,7 +204,7 @@ define(['jquery', 'underscore', 'jquery.ajaxQueue'], function($) {
|
||||
* _getYoutubeLink('OEoXaMPEzfM'); => 'http://youtu.be/OEoXaMPEzfM'
|
||||
*/
|
||||
var _getYoutubeLink = function(video_id) {
|
||||
return `http://youtu.be/${video_id}`;
|
||||
return 'http://youtu.be/' + video_id;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -302,7 +302,7 @@ define(['jquery', 'underscore', 'jquery.ajaxQueue'], function($) {
|
||||
);
|
||||
|
||||
xhr = $.ajaxQueue({
|
||||
url: `/transcripts/${action}`,
|
||||
url: '/transcripts/' + action,
|
||||
data: {data: JSON.stringify(data)},
|
||||
notifyOnError: false,
|
||||
type: 'get'
|
||||
|
||||
Reference in New Issue
Block a user