Skip to content
Snippets Groups Projects
Commit 063118cf authored by Matthew Piatetsky's avatar Matthew Piatetsky
Browse files

fix REV-19 experiment check for refunds

parent c9c97e58
No related merge requests found
......@@ -88,7 +88,7 @@
courseNumber, courseName, enrollmentMode, showRefundOption, courseKey) {
// This flag is added for REV-19 experiment
var auditRefundableCourses = (window.experimentVariables || {}).auditRefundableCourses,
courseInExperiment = courseKey.indexOf(auditRefundableCourses) > 0,
courseInExperiment = auditRefundableCourses ? auditRefundableCourses.indexOf(courseKey) > -1 : false,
diagAttr = {};
if (isPaidCourse || courseInExperiment) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment