scinote-web/app/assets/javascripts/navigation.js

13 lines
245 B
JavaScript
Raw Normal View History

2016-02-12 23:52:43 +08:00
/* Loading overlay for search */
$("#search-bar").submit(function (){
2016-07-21 19:11:15 +08:00
if( $("#update-canvas") ){
$(document.body).spin(true);
setTimeout(function(){
$(".spinner").remove();
}, 1000);
} else {
animateSpinner();
}
});