#2218: Improve browser detection
--------------------------+-------------------------------------------------
  Reporter:  wwalc        |       Owner:  martinkou        
      Type:  New Feature  |      Status:  assigned         
  Priority:  Normal       |   Milestone:  FCKeditor 2.6.1  
 Component:  General      |     Version:  SVN              
Resolution:               |    Keywords:  Confirmed Review-
--------------------------+-------------------------------------------------
Changes (by fredck):

  * keywords:  Confirmed Review? => Confirmed Review-

Comment:

 Replying to [comment:14 martinkou]:
 > The IsGecko assignment in line 41 actually depends on line 31, it's
 there to exclude those browsers who'd return navigator.product = 'Gecko'.

 Definitely, in the way you wrote it. But there is no need to make this
 check in two steps. What I meant is that line 41 could be changed to
 something like this:

 {{{
 browserInfo.IsGecko = ( navigator.product == 'Gecko' ) &&
 !browserInfo.IsSafari && !browserInfo.IsOpera ;
 }}}

-- 
Ticket URL: <https://dev.fckeditor.net/ticket/2218#comment:15>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to