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
dec4fbee
authored
Mar 07, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
#37
alert for browser incompatibility
parent
d711097c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
sails/src/assets/scripts/check_browser.js
sails/src/assets/scripts/check_browser.js
View file @
dec4fbee
...
...
@@ -17,7 +17,10 @@ var clientBrowser = (function(){
// Return if client browser valid or not
var
validBrowser
=
false
;
if
(
clientBrowser
[
0
]
==
"Firefox"
&&
parseInt
(
clientBrowser
[
1
])
>=
52
)
if
(
clientBrowser
[
0
]
==
"Firefox"
&&
parseInt
(
clientBrowser
[
1
])
>=
51
)
validBrowser
=
true
;
if
(
clientBrowser
[
0
]
==
"Chrome"
&&
parseInt
(
clientBrowser
[
1
])
>=
51
)
validBrowser
=
true
;
if
(
!
validBrowser
)
alert
(
"Su navegador no es compatible con Pictogram Web. Actualice a la última versión de Mozilla Firefox o Google Chrome."
);
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