PageSourceSearch

https://www.uworld.com/app/plugins/Bootstrap/BootstrapStateButtonsPatch.js

js uworld.com collected 2026-09-24 08:58:58 UTC 577 bytes, 13 lines download raw bytes

1//This code is used for state buttons in bootstrap 4 
2// Bootstrap 4 removed the support for 'loading' buttons. The below added code will complement that.
3
4(function ($) {
5    $.fn.button = function (action) {
6        if (action === 'loading' && this.data('loading-text')) {
7            this.data('original-text', this.html()).html(this.data('loading-text')).prop('disabled', true);
8        }
9        if (action === 'reset' && this.data('original-text')) {
10            this.html(this.data('original-text')).prop('disabled', false);
11        }
12    };
13}(jQuery));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.