app/assets/javascripts/thin_man.js in thin_man-0.19.0 vs app/assets/javascripts/thin_man.js in thin_man-0.19.1
- old
+ new
@@ -276,10 +276,10 @@
if(this.progress_indicator){
this.progress_indicator.stop();
} else if(!this.trigger_is_progress_target){
this.progress_target.remove();
}
- if(this.$mask_target){
+ if(typeof this.mask != 'undefined'){
this.mask.remove();
}
try{
var response_data = JSON.parse(jqXHR.responseText)
} catch(err) {