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
dc4e80a6
Commit
dc4e80a6
authored
Dec 19, 2012
by
fat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ghetto ass timeout shit
parent
5bd8cdca
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
7 deletions
+43
-7
docs/assets/js/bootstrap-typeahead.js
docs/assets/js/bootstrap-typeahead.js
+14
-2
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.js
+14
-2
docs/assets/js/bootstrap.min.js
docs/assets/js/bootstrap.min.js
+1
-1
js/bootstrap-typeahead.js
js/bootstrap-typeahead.js
+14
-2
No files found.
docs/assets/js/bootstrap-typeahead.js
View file @
dc4e80a6
...
@@ -172,6 +172,7 @@
...
@@ -172,6 +172,7 @@
,
listen
:
function
()
{
,
listen
:
function
()
{
this
.
$element
this
.
$element
.
on
(
'
focus
'
,
$
.
proxy
(
this
.
focus
,
this
))
.
on
(
'
blur
'
,
$
.
proxy
(
this
.
blur
,
this
))
.
on
(
'
blur
'
,
$
.
proxy
(
this
.
blur
,
this
))
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
...
@@ -183,6 +184,7 @@
...
@@ -183,6 +184,7 @@
this
.
$menu
this
.
$menu
.
on
(
'
click
'
,
$
.
proxy
(
this
.
click
,
this
))
.
on
(
'
click
'
,
$
.
proxy
(
this
.
click
,
this
))
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
.
on
(
'
mouseleave
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseleave
,
this
))
}
}
,
eventSupported
:
function
(
eventName
)
{
,
eventSupported
:
function
(
eventName
)
{
...
@@ -256,9 +258,13 @@
...
@@ -256,9 +258,13 @@
e
.
preventDefault
()
e
.
preventDefault
()
}
}
,
focus
:
function
(
e
)
{
this
.
focused
=
true
}
,
blur
:
function
(
e
)
{
,
blur
:
function
(
e
)
{
var
that
=
this
this
.
focused
=
false
setTimeout
(
function
()
{
that
.
hide
()
},
150
)
if
(
!
this
.
mousedover
&&
this
.
shown
)
this
.
hide
(
)
}
}
,
click
:
function
(
e
)
{
,
click
:
function
(
e
)
{
...
@@ -268,10 +274,16 @@
...
@@ -268,10 +274,16 @@
}
}
,
mouseenter
:
function
(
e
)
{
,
mouseenter
:
function
(
e
)
{
this
.
mousedover
=
true
this
.
$menu
.
find
(
'
.active
'
).
removeClass
(
'
active
'
)
this
.
$menu
.
find
(
'
.active
'
).
removeClass
(
'
active
'
)
$
(
e
.
currentTarget
).
addClass
(
'
active
'
)
$
(
e
.
currentTarget
).
addClass
(
'
active
'
)
}
}
,
mouseleave
:
function
(
e
)
{
this
.
mousedover
=
false
if
(
!
this
.
focused
&&
this
.
shown
)
this
.
hide
()
}
}
}
...
...
docs/assets/js/bootstrap.js
View file @
dc4e80a6
...
@@ -1889,6 +1889,7 @@
...
@@ -1889,6 +1889,7 @@
,
listen
:
function
()
{
,
listen
:
function
()
{
this
.
$element
this
.
$element
.
on
(
'
focus
'
,
$
.
proxy
(
this
.
focus
,
this
))
.
on
(
'
blur
'
,
$
.
proxy
(
this
.
blur
,
this
))
.
on
(
'
blur
'
,
$
.
proxy
(
this
.
blur
,
this
))
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
...
@@ -1900,6 +1901,7 @@
...
@@ -1900,6 +1901,7 @@
this
.
$menu
this
.
$menu
.
on
(
'
click
'
,
$
.
proxy
(
this
.
click
,
this
))
.
on
(
'
click
'
,
$
.
proxy
(
this
.
click
,
this
))
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
.
on
(
'
mouseleave
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseleave
,
this
))
}
}
,
eventSupported
:
function
(
eventName
)
{
,
eventSupported
:
function
(
eventName
)
{
...
@@ -1973,9 +1975,13 @@
...
@@ -1973,9 +1975,13 @@
e
.
preventDefault
()
e
.
preventDefault
()
}
}
,
focus
:
function
(
e
)
{
this
.
focused
=
true
}
,
blur
:
function
(
e
)
{
,
blur
:
function
(
e
)
{
var
that
=
this
this
.
focused
=
false
setTimeout
(
function
()
{
that
.
hide
()
},
150
)
if
(
!
this
.
mousedover
&&
this
.
shown
)
this
.
hide
(
)
}
}
,
click
:
function
(
e
)
{
,
click
:
function
(
e
)
{
...
@@ -1985,10 +1991,16 @@
...
@@ -1985,10 +1991,16 @@
}
}
,
mouseenter
:
function
(
e
)
{
,
mouseenter
:
function
(
e
)
{
this
.
mousedover
=
true
this
.
$menu
.
find
(
'
.active
'
).
removeClass
(
'
active
'
)
this
.
$menu
.
find
(
'
.active
'
).
removeClass
(
'
active
'
)
$
(
e
.
currentTarget
).
addClass
(
'
active
'
)
$
(
e
.
currentTarget
).
addClass
(
'
active
'
)
}
}
,
mouseleave
:
function
(
e
)
{
this
.
mousedover
=
false
if
(
!
this
.
focused
&&
this
.
shown
)
this
.
hide
()
}
}
}
...
...
docs/assets/js/bootstrap.min.js
View file @
dc4e80a6
This diff is collapsed.
Click to expand it.
js/bootstrap-typeahead.js
View file @
dc4e80a6
...
@@ -172,6 +172,7 @@
...
@@ -172,6 +172,7 @@
,
listen
:
function
()
{
,
listen
:
function
()
{
this
.
$element
this
.
$element
.
on
(
'
focus
'
,
$
.
proxy
(
this
.
focus
,
this
))
.
on
(
'
blur
'
,
$
.
proxy
(
this
.
blur
,
this
))
.
on
(
'
blur
'
,
$
.
proxy
(
this
.
blur
,
this
))
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
...
@@ -183,6 +184,7 @@
...
@@ -183,6 +184,7 @@
this
.
$menu
this
.
$menu
.
on
(
'
click
'
,
$
.
proxy
(
this
.
click
,
this
))
.
on
(
'
click
'
,
$
.
proxy
(
this
.
click
,
this
))
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
.
on
(
'
mouseleave
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseleave
,
this
))
}
}
,
eventSupported
:
function
(
eventName
)
{
,
eventSupported
:
function
(
eventName
)
{
...
@@ -256,9 +258,13 @@
...
@@ -256,9 +258,13 @@
e
.
preventDefault
()
e
.
preventDefault
()
}
}
,
focus
:
function
(
e
)
{
this
.
focused
=
true
}
,
blur
:
function
(
e
)
{
,
blur
:
function
(
e
)
{
var
that
=
this
this
.
focused
=
false
setTimeout
(
function
()
{
that
.
hide
()
},
150
)
if
(
!
this
.
mousedover
&&
this
.
shown
)
this
.
hide
(
)
}
}
,
click
:
function
(
e
)
{
,
click
:
function
(
e
)
{
...
@@ -268,10 +274,16 @@
...
@@ -268,10 +274,16 @@
}
}
,
mouseenter
:
function
(
e
)
{
,
mouseenter
:
function
(
e
)
{
this
.
mousedover
=
true
this
.
$menu
.
find
(
'
.active
'
).
removeClass
(
'
active
'
)
this
.
$menu
.
find
(
'
.active
'
).
removeClass
(
'
active
'
)
$
(
e
.
currentTarget
).
addClass
(
'
active
'
)
$
(
e
.
currentTarget
).
addClass
(
'
active
'
)
}
}
,
mouseleave
:
function
(
e
)
{
this
.
mousedover
=
false
if
(
!
this
.
focused
&&
this
.
shown
)
this
.
hide
()
}
}
}
...
...
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