diff --git a/lms/templates/courseware/course_navigation.html b/lms/templates/courseware/course_navigation.html
index 4e77c96adb..ea367873e2 100644
--- a/lms/templates/courseware/course_navigation.html
+++ b/lms/templates/courseware/course_navigation.html
@@ -29,9 +29,9 @@ def url_class(is_active):
<%block name="extratabs" />
% if masquerade is not UNDEFINED:
% if staff_access and masquerade is not None:
-
Staff view
- % endif
- % endif
+ Staff view
+ % endif
+ % endif
@@ -42,11 +42,11 @@ def url_class(is_active):
masq = (function(){
var el = $('#staffstatus');
var setstat = function(status){
- if (status=='student'){
- el.html('Student view');
- }else{
- el.html('Staff view');
- }
+ if (status=='student'){
+ el.html('Student view');
+ }else{
+ el.html('Staff view');
+ }
}
setstat('${masquerade}');
@@ -55,7 +55,7 @@ masq = (function(){
type: 'GET',
success: function(result){
setstat(result.status);
- location.reload();
+ location.reload();
},
error: function() {
alert('Error: cannot connect to server');