do not break styles in firefox
This commit is contained in:
parent
e94d7922a9
commit
0dfcd6dc74
|
@ -29,7 +29,7 @@ var w = window.innerWidth - offset.left,
|
||||||
h = window.innerHeight - offset.top - 1
|
h = window.innerHeight - offset.top - 1
|
||||||
|
|
||||||
function next_style() {
|
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)
|
if (s[0][0] == null)
|
||||||
s = d3.select("head link[title][disabled]")
|
s = d3.select("head link[title][disabled]")
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<title>Freifunk Lübeck - Knotengraph</title>
|
<title>Freifunk Lübeck - Knotengraph</title>
|
||||||
<link href='style.css' rel='stylesheet' type='text/css' />
|
<link href='style.css' rel='stylesheet' type='text/css' />
|
||||||
<link href='force.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'/>
|
<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="jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="d3.v2.js"></script>
|
<script type="text/javascript" src="d3.v2.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue