minor changes
This commit is contained in:
10
content.js
10
content.js
@@ -73,8 +73,8 @@ function getDistribution(){
|
|||||||
openDialog(department,coursename,"aggregate",profname,res);
|
openDialog(department,coursename,"aggregate",profname,res);
|
||||||
}
|
}
|
||||||
|
|
||||||
function openDialog(dep,cls,sem,professor,data){
|
function openDialog(dep,cls,sem,professor,res){
|
||||||
data = data.values[0];
|
var data = res.values[0];
|
||||||
var modal = document.getElementById('myModal');
|
var modal = document.getElementById('myModal');
|
||||||
var span = document.getElementsByClassName("close")[0];
|
var span = document.getElementsByClassName("close")[0];
|
||||||
modal.style.display = "block";
|
modal.style.display = "block";
|
||||||
@@ -83,6 +83,7 @@ function openDialog(dep,cls,sem,professor,data){
|
|||||||
var name;
|
var name;
|
||||||
if(profname == ""){
|
if(profname == ""){
|
||||||
name = "Undecided Professor ";
|
name = "Undecided Professor ";
|
||||||
|
console.log(res.values);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
name = profname.substring(0,1)+profname.substring(1).toLowerCase();
|
name = profname.substring(0,1)+profname.substring(1).toLowerCase();
|
||||||
@@ -154,6 +155,11 @@ function openDialog(dep,cls,sem,professor,data){
|
|||||||
bar: {
|
bar: {
|
||||||
pointPadding: 0.2,
|
pointPadding: 0.2,
|
||||||
borderWidth: 0
|
borderWidth: 0
|
||||||
|
},
|
||||||
|
series: {
|
||||||
|
animation: {
|
||||||
|
duration: 700
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
series: [{
|
series: [{
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
}
|
}
|
||||||
.description {
|
.description {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user