1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-31 12:01:54 +02:00

localization based on markdown

This commit is contained in:
Pomax
2017-02-13 17:27:52 -08:00
parent 59f4bea20b
commit f2eeab6a21
61 changed files with 862 additions and 27032 deletions

View File

@@ -28,7 +28,7 @@
</head>
<body>
<div class="dev">
<div class="dev" style="display:none;">
<style>
div.dev {
background: rgb(43, 49, 95);
@@ -46,6 +46,15 @@
}
</style>
DEV PREVIEW ONLY
<script>
(function() {
var loc = window.location.toString();
if(loc.indexOf('localhost')!==-1 || loc.indexOf('-2')!==-1) {
var e = document.querySelector('div.dev');
e.removeAttribute("style");
}
}());
</script>
</div>
<!-- Because people probably want to share this article -->