do not break styles in firefox

This commit is contained in:
Nils Schneider 2012-06-08 04:05:41 +02:00
parent e94d7922a9
commit 0dfcd6dc74
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ var w = window.innerWidth - offset.left,
h = window.innerHeight - offset.top - 1
function next_style() {
var s = d3.select("head link[title]:not([disabled]) + link[title][disabled]")
var s = d3.select("head link[title]:not([disabled]) * link[title]")
if (s[0][0] == null)
s = d3.select("head link[title][disabled]")

View file

@ -5,7 +5,7 @@
<title>Freifunk Lübeck - Knotengraph</title>
<link href='style.css' rel='stylesheet' type='text/css' />
<link href='force.css' rel='stylesheet' type='text/css' />
<link href='force-big.css' rel='stylesheet' type='text/css' title='big' disabled/>
<link href='force-big.css' rel='alternate stylesheet' type='text/css' title='big' disabled/>
<link href='force-light.css' rel='stylesheet' type='text/css' title='light'/>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="d3.v2.js"></script>