Changeset 6451

Show
Ignore:
Timestamp:
08/21/08 14:23:46 (5 months ago)
Author:
MartinBudden
Message:

Better browser/OS checking on download

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Trunk/verticals/tiddlywiki.com/plugins/DownloadTiddlyWikiPlugin.js

    r6428 r6451  
    3131        // display the tiddler containing the instructions 
    3232        var e = ev || window.event; 
    33         var title; 
     33        var title = "Installation"; 
    3434        if(config.browser.isMac) { 
    3535                if(config.browser.isSafari) { 
     
    3737                } else if(config.browser.isOpera) { 
    3838                        title = "Installation guidelines: Opera on Mac OS X"; 
    39                 } else { 
     39                } else if(config.browser.isGecko) { 
    4040                        title = "Installation guidelines: Firefox on Mac OS X"; 
    4141                } 
     
    4343                if(config.browser.isIE) { 
    4444                        title = "Installation guidelines: Internet Explorer on Windows Vista"; 
    45                 } else { 
     45                } else if(config.browser.isGecko) { 
    4646                        title = "Installation guidelines: Firefox on Windows Vista"; 
    4747                } 
    48         } else { 
    49                 title = "Installation guidelines: Firefox on Ubuntu"; 
     48        } else if(config.browser.isLinux) { 
     49                if(config.browser.isGecko) { 
     50                        title = "Installation guidelines: Firefox on Ubuntu"; 
     51                } 
    5052        } 
    5153        var url = config.browser.isSafari || config.browser.isOpera ? 'http://www.tiddlywiki.com/empty.zip' :'http://www.tiddlywiki.com/empty.download';