Moved back to standard, changes not longer needed because of new online notification controller.
This commit is contained in:
parent
f734ed334d
commit
55fb234e5b
1 changed files with 2 additions and 16 deletions
|
@ -8,15 +8,6 @@
|
||||||
* ======================================================================== */
|
* ======================================================================== */
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
Modified 19-01-2014 by Felix
|
|
||||||
|
|
||||||
add tooltip height desctriction to 100% viewport height - 18px padding
|
|
||||||
line 260-263
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
+function ($) {
|
+function ($) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -185,8 +176,8 @@
|
||||||
|
|
||||||
$tip
|
$tip
|
||||||
.detach()
|
.detach()
|
||||||
.css({ top: 0, left: 0 })
|
.css({ top: 0, left: 0, display: 'block' })
|
||||||
.addClass(placement + ' is-visible')
|
.addClass(placement)
|
||||||
.data('bs.' + this.type, this)
|
.data('bs.' + this.type, this)
|
||||||
|
|
||||||
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
|
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
|
||||||
|
@ -258,11 +249,6 @@
|
||||||
}
|
}
|
||||||
}, offset), 0)
|
}, offset), 0)
|
||||||
|
|
||||||
var maxHeight = $('#app').height() - 18
|
|
||||||
if(height > maxHeight){
|
|
||||||
$tip.height(maxHeight).addClass('is-overflowing')
|
|
||||||
}
|
|
||||||
|
|
||||||
$tip.addClass('in')
|
$tip.addClass('in')
|
||||||
|
|
||||||
// check to see if placing tip in new offset caused the tip to resize itself
|
// check to see if placing tip in new offset caused the tip to resize itself
|
||||||
|
|
Loading…
Reference in a new issue