Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EBI-Framework
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ebiwd
EBI-Framework
Commits
a6848d25
Commit
a6848d25
authored
7 years ago
by
khawkins98
Browse files
Options
Downloads
Patches
Plain Diff
Correctly access options
parent
ec0e6a96
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/LiveFilter/js/jquery.liveFilter.js
+5
-5
5 additions, 5 deletions
libraries/LiveFilter/js/jquery.liveFilter.js
with
5 additions
and
5 deletions
libraries/LiveFilter/js/jquery.liveFilter.js
+
5
−
5
View file @
a6848d25
...
...
@@ -44,14 +44,14 @@
}
};
if
(
analyticsLogging
===
true
&&
delay
<
200
)
{
delay
=
150
;
// don't burn the GA api quota
}
// Overwrite default settings with user provided ones. Declare some vars.
var
options
=
$
.
extend
(
defaults
,
settings
);
var
keyDelay
,
filter
,
child
;
if
(
options
.
analyticsLogging
===
true
&&
options
.
delay
<
200
)
{
options
.
delay
=
150
;
// don't burn the GA api quota
}
// Cache our wrapper element and find our target list.
var
wrap
=
$
(
this
);
var
filterTarget
=
wrap
.
find
(
'
ul, ol, table,div
'
);
...
...
@@ -170,7 +170,7 @@
$
(
this
).
hide
();
})
}
else
{
if
(
analyticsLogging
)
{
if
(
a
options
.
nalyticsLogging
)
{
if
(
$
(
'
body
'
).
hasClass
(
'
google-analytics-loaded
'
))
{
analyticsTrackInteraction
(
filter
,
'
Live filter search
'
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment