Changed the way we use the setTimeout function. Should fix #403 #491 #492

This commit is contained in:
tidusjar 2016-08-24 12:34:39 +01:00
commit 9a31a51514
2 changed files with 24 additions and 3 deletions

View file

@ -8,6 +8,21 @@
return s;
}
Function.prototype.bind = function (parent) {
var f = this;
var args = [];
for (var a = 1; a < arguments.length; a++) {
args[args.length] = arguments[a];
}
var temp = function () {
return f.apply(parent, args);
}
return (temp);
}
$(function() {
$('[data-toggle="tooltip"]').tooltip();
});