Skip to content

Commit 5677034

Browse files
committed
Merge pull request #27 from adaptlearning/issue/#26
Issue/#26
2 parents 8aaf11a + 18ba666 commit 5677034

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

js/adapt-contrib-tutor.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ define(function(require) {
2727
var data = this.model.toJSON();
2828
var template = Handlebars.templates["tutor"];
2929
this.$el.html(template(data)).appendTo('#wrapper');
30+
this.$('.tutor').css({display: 'block', opacity: 0});
3031
_.defer(_.bind(function() {
3132
this.showTutor();
32-
this.$('.tutor').css({display: 'block', opacity: 0});
3333
}, this));
3434
return this;
3535
},
@@ -48,7 +48,8 @@ define(function(require) {
4848
'height':'100%',
4949
'top':0,
5050
'overflow-y': 'scroll',
51-
'-webkit-overflow-scrolling': 'touch'
51+
'-webkit-overflow-scrolling': 'touch',
52+
'opacity':1
5253
});
5354
} else {
5455
if (noAnimation) {

less/tutor.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
background-color: @inverted-background-color;
88
color: @inverted-foreground-color;
99
z-index: 550;
10-
opacity:0;
1110
.ie8 & {
1211
left:0px;
1312
}

0 commit comments

Comments
 (0)