Ignore:
Timestamp:
03/10/12 14:14:01 (7 years ago)
Author:
mnagni
Message:

trying to fix the chrome openLayer issue. Refactoring and cleaning some old code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/cedaMoles/MolesManager/static/templates/base.html

    r8600 r8602  
    4444                ] 
    4545        }; 
    46                 if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1){console.log(dojoConfig)} 
     46                var isChrome = /(chrome)[ \/]([\w.]+)/i.test(navigator.userAgent); 
     47                if (isChrome){ 
     48                        console.log(dojoConfig) 
     49                }; 
    4750    </script> 
    4851    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8/dojo/dojo.js">   </script>                
Note: See TracChangeset for help on using the changeset viewer.