r3730 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r3729‎ | r3730 | r3731 >
Date:01:18, 29 May 2004
Author:eloquence
Status:old
Tags:
Comment:
netscape 7.0 doesn't support changing selections, so disabling
Modified paths:
  • /trunk/phase3/stylesheets/wikibits.js (modified) (history)

Diff [purge]

Index: trunk/phase3/stylesheets/wikibits.js
@@ -5,7 +5,7 @@
66 var alertText;
77 var clientPC = navigator.userAgent.toLowerCase(); // Get client info
88 var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1)
9 - && (clientPC.indexOf('khtml') == -1));
 9+ && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));
1010 var is_safari = ((clientPC.indexOf('AppleWebKit')!=-1) && (clientPC.indexOf('spoofer')==-1));
1111 var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
1212 if (clientPC.indexOf('opera')!=-1) {

Status & tagging log