Changeset 9054


Ignore:
Timestamp:
02/02/11 12:38:49 (9 years ago)
Author:
plg
Message:

bug 2175 fixed: do not use the HTML prefetch feature with Google Chrome because
it was sometimes making the photos impossible to show.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/picture.php

    r6711 r9054  
    640640 
    641641if (isset($picture['next']['image_url']) 
    642     and $picture['next']['is_picture'] ) 
     642    and $picture['next']['is_picture'] 
     643    and strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome/') === false) 
    643644{ 
    644645  $template->assign('U_PREFETCH', $picture['next']['image_url'] ); 
Note: See TracChangeset for help on using the changeset viewer.