Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
978dfb92
Commit
978dfb92
authored
Nov 16, 2011
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up var defintion
parent
90f8eb6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
js/bootstrap-alerts.js
js/bootstrap-alerts.js
+3
-1
No files found.
js/bootstrap-alerts.js
View file @
978dfb92
...
@@ -94,9 +94,11 @@
...
@@ -94,9 +94,11 @@
return
this
.
each
(
function
()
{
return
this
.
each
(
function
()
{
var
$this
=
$
(
this
)
var
$this
=
$
(
this
)
,
data
if
(
typeof
options
==
'
string
'
)
{
if
(
typeof
options
==
'
string
'
)
{
var
data
=
$this
.
data
(
'
alert
'
)
data
=
$this
.
data
(
'
alert
'
)
if
(
typeof
data
==
'
object
'
)
{
if
(
typeof
data
==
'
object
'
)
{
return
data
[
options
].
call
(
$this
)
return
data
[
options
].
call
(
$this
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment