Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a287cfd3
authored
Mar 09, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
#37
browser version tested
parent
69905aa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
sails/src/assets/scripts/check_browser.js
sails/src/assets/scripts/check_browser.js
View file @
a287cfd3
...
@@ -18,9 +18,12 @@ var clientBrowser = (function(){
...
@@ -18,9 +18,12 @@ var clientBrowser = (function(){
// Return if client browser valid or not
// Return if client browser valid or not
var
validBrowser
=
false
;
var
validBrowser
=
false
;
if
(
clientBrowser
[
0
]
==
"Firefox"
&&
parseInt
(
clientBrowser
[
1
])
>=
45
)
//Browser filter
if
(
clientBrowser
[
0
]
==
"Firefox"
&&
parseInt
(
clientBrowser
[
1
])
>=
25
)
validBrowser
=
true
;
validBrowser
=
true
;
if
(
clientBrowser
[
0
]
==
"Chrome"
&&
parseInt
(
clientBrowser
[
1
])
>=
51
)
if
(
clientBrowser
[
0
]
==
"Chrome"
&&
parseInt
(
clientBrowser
[
1
])
>=
45
)
validBrowser
=
true
;
if
(
clientBrowser
[
0
]
==
"Opera"
&&
parseInt
(
clientBrowser
[
1
])
>=
35
)
validBrowser
=
true
;
validBrowser
=
true
;
// Redirect to view
// Redirect to view
...
...
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