mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
remove unused function
This commit is contained in:
parent
8edfb24a3c
commit
237196720c
@ -38,19 +38,6 @@ window.onload = function () { // wait for load in a dumb way because B-0
|
|||||||
'</div>').insertAfter('.bs-customize-download')
|
'</div>').insertAfter('.bs-customize-download')
|
||||||
}
|
}
|
||||||
|
|
||||||
function showCallout(msg, showUpTop) {
|
|
||||||
var $callout = $('<div class="bs-callout bs-callout-danger">' +
|
|
||||||
'<h4>Attention!</h4>' +
|
|
||||||
'<p>' + msg + '</p>' +
|
|
||||||
'</div>')
|
|
||||||
|
|
||||||
if (showUpTop) {
|
|
||||||
$callout.appendTo('.bs-docs-container')
|
|
||||||
} else {
|
|
||||||
$callout.insertAfter('.bs-customize-download')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function showAlert(type, msg, insertAfter) {
|
function showAlert(type, msg, insertAfter) {
|
||||||
$('<div class="alert alert-' + type + '">' + msg + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button></div>')
|
$('<div class="alert alert-' + type + '">' + msg + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button></div>')
|
||||||
.insertAfter(insertAfter)
|
.insertAfter(insertAfter)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user