initial commit

This commit is contained in:
git@daemon.de
2013-09-12 23:13:49 +02:00
parent 874ee3cdab
commit 5992bf159b
50 changed files with 69273 additions and 0 deletions

26
js/init.js Normal file
View File

@@ -0,0 +1,26 @@
App = Ember.Application.create({
//LOG_TRANSITIONS: true
});
/*
* make sure, only one popover appears at a time.
* if the user hovers over another help button,
* hide other popovers and display the new. Hide
* all if not above a help button at all.
*/
$(document).ready(function () {
$('.popup-marker').popover({
html: true,
trigger: 'hover'
}).click(function(e) {
$('.popup-marker').not(this).popover('hide');
$(this).popover('toggle');
});
$(document).click(function(e) {
if (!$(e.target).is('.popup-marker, .popover-title, .popover-content')) {
$('.popup-marker').popover('hide');
}
});
});