]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove unused function
authorMark Otto <markdotto@gmail.com>
Tue, 4 Jul 2017 21:15:56 +0000 (14:15 -0700)
committerMark Otto <markdotto@gmail.com>
Tue, 4 Jul 2017 21:15:56 +0000 (14:15 -0700)
docs/assets/js/src/customizer.js

index 00de361676459b3574a39a883e2f5cc28c23f6e7..dd1f1765a9d72a4901c591ddb1f8c9058f5d5733 100644 (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)