//= require bootstrap3-editable/bootstrap-editable
//= require bootstrap-tab-history
//= require wiselinks
+//= require raphael
+//= require morris
+//= require jquery.number.min
//= require_tree .
jQuery(function($){
window.addEventListener("DOMContentLoaded", function(e) {
if(history.state) {
if(history.state.nocache) {
- console.log('no cache!');
showLoadingModal();
history.replaceState( {}, '' );
location.reload(true);
function hideLoadingModal() {
$('#loading-modal').modal('hide');
}
+
+function hasHTML5History() {
+ return !!(window.history && window.history.pushState);
+}