mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Remove unneeded conditional
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
$(function () {
|
||||
'use strict'
|
||||
|
||||
if (typeof bootstrap !== 'undefined') {
|
||||
window.Toast = bootstrap.Toast
|
||||
}
|
||||
window.Toast = typeof bootstrap !== 'undefined' ? bootstrap.Toast : Toast
|
||||
|
||||
QUnit.module('toast plugin')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user