Skip to content

Instantly share code, notes, and snippets.

@jun66j5
Created April 9, 2012 03:28
Show Gist options
  • Save jun66j5/2341182 to your computer and use it in GitHub Desktop.
Save jun66j5/2341182 to your computer and use it in GitHub Desktop.
Force IE8 to render in IE8 standard mode and works expanding toolbar on IE8
diff -r 625bd30aaa4c install/replace/httpd.conf.in
--- a/install/replace/httpd.conf.in Mon Mar 26 21:48:26 2012 +0900
+++ b/install/replace/httpd.conf.in Mon Apr 09 13:07:10 2012 +0900
@@ -88,7 +88,7 @@
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
-#LoadModule headers_module modules/mod_headers.so
+LoadModule headers_module modules/mod_headers.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
@@ -546,6 +546,7 @@
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
+ Header set X-UA-Compatible "IE=8; IE=edge"
ExpiresActive On
ExpiresByType application/x-javascript A259200
diff -r 625bd30aaa4c plugins/svn/TracMacOSTheme/tracmacos/templates/mac_theme.html
--- a/plugins/svn/TracMacOSTheme/tracmacos/templates/mac_theme.html Mon Mar 26 21:48:26 2012 +0900
+++ b/plugins/svn/TracMacOSTheme/tracmacos/templates/mac_theme.html Mon Apr 09 13:07:10 2012 +0900
@@ -195,22 +195,20 @@
</table>
</div>
- <a href="javascript:animatedcollapse.show('mactb')" >
- <div id="mactb_min" class="mactb">
- <table class="tb_tbl" cellspacing="0" cellpadding="0" border="0" >
- <tbody>
- <tr>
- <td class="tb_td tb_bl" align="left" width="15" valign="top" />
- <td class="tb_td tb_c">
- Tools
- </td>
- <td class="tb_td tb_br" >
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </a>
+ <div id="mactb_min" class="mactb" onclick="animatedcollapse.show('mactb')">
+ <table class="tb_tbl" cellspacing="0" cellpadding="0" border="0" >
+ <tbody>
+ <tr>
+ <td class="tb_td tb_bl" align="left" width="15" valign="top" />
+ <td class="tb_td tb_c">
+ Tools
+ </td>
+ <td class="tb_td tb_br" >
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<script type='text/javascript'>
jQuery('a.ext-link').each(function() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment