ethstats-server/public/js/script.js

13 lines
311 B
JavaScript
Raw Normal View History

2015-01-20 19:29:31 +01:00
(function() {
var socket = io.connect();
socket.on('init', function(data){
console.log(data);
});
2015-02-05 09:27:12 +01:00
$('body').on('mouseenter', '[data-toggle="tooltip"]', function( event ) {
$(this).tooltip('show');
}).on('mouseleave', '[data-toggle="tooltip"]', function( event ) {
$(this).tooltip('hide');
})
2015-01-20 19:29:31 +01:00
})();