2
0
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:
XhmikosR
2020-11-27 14:27:35 +02:00
parent af52795501
commit bdab948670
3 changed files with 7 additions and 13 deletions
+1 -3
View File
@@ -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')