Skip to content

Commit 1780b38

Browse files
unknownunknown
authored andcommitted
#5-08-2024
1 parent 1b6cc60 commit 1780b38

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

appsTeacher/lectures/site_files/js/lectureView.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@ app.controller("lectureView", function ($scope, $http, $timeout) {
165165
$scope.busy = false;
166166
}
167167
);
168-
/* } else if (site.isMobile()) { */
169-
} else {
168+
} else if (site.isMobile()) {
170169
$http({
171170
method: "POST",
172171
url: `${$scope.baseURL}/api/lectures/changeViewMobile`,
@@ -180,11 +179,10 @@ app.controller("lectureView", function ($scope, $http, $timeout) {
180179
window.open(`/view-video?code=${link.code}&id=${$scope.item._id}`);
181180
}
182181
});
183-
}
184-
/* else {
182+
} else {
185183
site.showModal("#socialBrowserModal");
186184
return;
187-
} */
185+
}
188186
};
189187

190188
$scope.finishQuiz = function (quiz) {

0 commit comments

Comments
 (0)