0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

remove unused function

This commit is contained in:
Mark Otto 2017-07-04 14:15:56 -07:00
parent 8edfb24a3c
commit 237196720c

View File

@ -38,19 +38,6 @@ window.onload = function () { // wait for load in a dumb way because B-0
'</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) {
$('<div class="alert alert-' + type + '">' + msg + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button></div>')
.insertAfter(insertAfter)