mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-04 01:01:56 +02:00
grunt dist
This commit is contained in:
3
js/dist/dropdown.js
vendored
3
js/dist/dropdown.js
vendored
@@ -149,6 +149,9 @@ var Dropdown = (function ($) {
|
||||
}
|
||||
|
||||
if (typeof config === 'string') {
|
||||
if (data[config] === undefined) {
|
||||
throw new Error('No method named "' + config + '"');
|
||||
}
|
||||
data[config].call(this);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user