Show More
@@ -60,6 +60,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
60 | this.$label.hide(); |
|
60 | this.$label.hide(); | |
61 | } else { |
|
61 | } else { | |
62 | this.$label.text(description); |
|
62 | this.$label.text(description); | |
|
63 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
63 | this.$label.show(); |
|
64 | this.$label.show(); | |
64 | } |
|
65 | } | |
65 | } |
|
66 | } |
@@ -240,6 +240,7 define(["widgets/js/widget"], function(WidgetManager) { | |||||
240 | this.$title.html(" "); // Preserve title height |
|
240 | this.$title.html(" "); // Preserve title height | |
241 | } else { |
|
241 | } else { | |
242 | this.$title.text(description); |
|
242 | this.$title.text(description); | |
|
243 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$title.get(0)]); | |||
243 | } |
|
244 | } | |
244 |
|
245 | |||
245 | var button_text = this.model.get('button_text'); |
|
246 | var button_text = this.model.get('button_text'); |
@@ -32,7 +32,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
32 | // Put the slider in a container |
|
32 | // Put the slider in a container | |
33 | this.$slider_container = $('<div />') |
|
33 | this.$slider_container = $('<div />') | |
34 | .addClass('widget-hslider') |
|
34 | .addClass('widget-hslider') | |
35 | .append(this.$slider) |
|
35 | .append(this.$slider); | |
36 | this.$el_to_style = this.$slider_container; // Set default element to style |
|
36 | this.$el_to_style = this.$slider_container; // Set default element to style | |
37 | this.$el.append(this.$slider_container); |
|
37 | this.$el.append(this.$slider_container); | |
38 |
|
38 | |||
@@ -113,6 +113,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
113 | this.$label.hide(); |
|
113 | this.$label.hide(); | |
114 | } else { |
|
114 | } else { | |
115 | this.$label.text(description); |
|
115 | this.$label.text(description); | |
|
116 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
116 | this.$label.show(); |
|
117 | this.$label.show(); | |
117 | } |
|
118 | } | |
118 |
|
119 | |||
@@ -192,6 +193,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
192 | this.$label.hide(); |
|
193 | this.$label.hide(); | |
193 | } else { |
|
194 | } else { | |
194 | this.$label.text(description); |
|
195 | this.$label.text(description); | |
|
196 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
195 | this.$label.show(); |
|
197 | this.$label.show(); | |
196 | } |
|
198 | } | |
197 | } |
|
199 | } | |
@@ -294,6 +296,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
294 | this.$label.hide(); |
|
296 | this.$label.hide(); | |
295 | } else { |
|
297 | } else { | |
296 | this.$label.text(description); |
|
298 | this.$label.text(description); | |
|
299 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
297 | this.$label.show(); |
|
300 | this.$label.show(); | |
298 | } |
|
301 | } | |
299 | return ProgressView.__super__.update.apply(this); |
|
302 | return ProgressView.__super__.update.apply(this); |
@@ -96,6 +96,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
96 | this.$label.hide(); |
|
96 | this.$label.hide(); | |
97 | } else { |
|
97 | } else { | |
98 | this.$label.text(description); |
|
98 | this.$label.text(description); | |
|
99 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
99 | this.$label.show(); |
|
100 | this.$label.show(); | |
100 | } |
|
101 | } | |
101 | } |
|
102 | } | |
@@ -187,6 +188,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
187 | this.$label.hide(); |
|
188 | this.$label.hide(); | |
188 | } else { |
|
189 | } else { | |
189 | this.$label.text(description); |
|
190 | this.$label.text(description); | |
|
191 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
190 | this.$label.show(); |
|
192 | this.$label.show(); | |
191 | } |
|
193 | } | |
192 | } |
|
194 | } | |
@@ -279,6 +281,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
279 | this.$label.hide(); |
|
281 | this.$label.hide(); | |
280 | } else { |
|
282 | } else { | |
281 | this.$label.text(description); |
|
283 | this.$label.text(description); | |
|
284 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
282 | this.$label.show(); |
|
285 | this.$label.show(); | |
283 | } |
|
286 | } | |
284 | } |
|
287 | } | |
@@ -362,6 +365,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
362 | this.$label.hide(); |
|
365 | this.$label.hide(); | |
363 | } else { |
|
366 | } else { | |
364 | this.$label.text(description); |
|
367 | this.$label.text(description); | |
|
368 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
365 | this.$label.show(); |
|
369 | this.$label.show(); | |
366 | } |
|
370 | } | |
367 | } |
|
371 | } |
@@ -113,6 +113,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
113 | this.$label.hide(); |
|
113 | this.$label.hide(); | |
114 | } else { |
|
114 | } else { | |
115 | this.$label.text(description); |
|
115 | this.$label.text(description); | |
|
116 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
116 | this.$label.show(); |
|
117 | this.$label.show(); | |
117 | } |
|
118 | } | |
118 | } |
|
119 | } | |
@@ -185,6 +186,7 define(["widgets/js/widget"], function(WidgetManager){ | |||||
185 | this.$label.hide(); |
|
186 | this.$label.hide(); | |
186 | } else { |
|
187 | } else { | |
187 | this.$label.text(description); |
|
188 | this.$label.text(description); | |
|
189 | MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$label.get(0)]); | |||
188 | this.$label.show(); |
|
190 | this.$label.show(); | |
189 | } |
|
191 | } | |
190 | } |
|
192 | } |
General Comments 0
You need to be logged in to leave comments.
Login now