Moved back to standard, changes not longer needed because of new online notification controller.

This commit is contained in:
Martin Edenhofer 2015-01-21 00:27:50 +01:00
parent f734ed334d
commit 55fb234e5b

View file

@ -8,15 +8,6 @@
* ======================================================================== */
/*
Modified 19-01-2014 by Felix
add tooltip height desctriction to 100% viewport height - 18px padding
line 260-263
*/
+function ($) {
'use strict';
@ -185,8 +176,8 @@
$tip
.detach()
.css({ top: 0, left: 0 })
.addClass(placement + ' is-visible')
.css({ top: 0, left: 0, display: 'block' })
.addClass(placement)
.data('bs.' + this.type, this)
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
@ -258,11 +249,6 @@
}
}, offset), 0)
var maxHeight = $('#app').height() - 18
if(height > maxHeight){
$tip.height(maxHeight).addClass('is-overflowing')
}
$tip.addClass('in')
// check to see if placing tip in new offset caused the tip to resize itself