Browse Source

Delete JS and fix typo

onryo
Duke Leto 2 years ago
parent
commit
4562e19c81
  1. 78
      privacy/index.html

78
privacy/index.html

@ -75,7 +75,7 @@
you to store it in digital form.
</p>
<p>
The hush.is website is purely for <b>marketing and education purposes</b> and our peer-to-peer network does not rely on it in any way, not does our P2P network rely on DNS, which we believe is completely untrustable, just as Bitcoin developers rightly believe.
The hush.is website is purely for <b>marketing and education purposes</b> and our peer-to-peer network does not rely on it in any way, nor does our P2P network rely on DNS, which we believe is completely untrustable, just as Bitcoin developers rightly believe.
</p>
<p>
<b>1 HUSH = 10000 encrypted messages</b> which have censorship resistance backed up by Bitcoin hashrate security, which is why<br> Hush is a <b>Store-of-Privacy</b>.
@ -196,83 +196,7 @@ $('.button-group').each( function( i, buttonGroup ) {
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script>
if ($(window).width() < 960) {
(function ($) {
$('.modalButton').on('click', function (e) {
var src = $(this).attr('data-src');
window.open(src, '_blank').focus();
});
})(jQuery);
} else {
(function ($) {
function iframeModalOpen() {
$('.modalButton').on('click', function (e) {
var src = $(this).attr('data-src');
var width = $(this).attr('data-width') || 640;
var height = $(this).attr('data-height') || 360;
var allowfullscreen = $(this).attr('data-video-fullscreen');
$("#myModal iframe").attr({
'src': src,
'height': height,
'width': width,
'allowfullscreen': ''
});
});
$('#myModal').on('hidden.bs.modal', function () {
$(this).find('iframe').html("");
$(this).find('iframe').attr("src", "");
});
}
$(document).ready(function () {
iframeModalOpen();
});
})(jQuery);
}
</script>
<script>
$(document).ready(function() {
if(localStorage.getItem('language') != null) {
language = localStorage.getItem('language');
$.ajax({
url: '/translations/' + language + '.xml',
success: function(xml) {
$(xml).find('translation').each(function(){
var id = $(this).attr('id');
var text = $(this).text();
$("." + id).html(text);
});
}
});
}
});
function testch(id) {
localStorage.setItem('language', id);
language = id
$.ajax({
url: '/translations/' + language + '.xml',
success: function(xml) {
$(xml).find('translation').each(function(){
var id = $(this).attr('id');
var text = $(this).text();
$("." + id).html(text);
});
}
});
};
</script>
</body>
</html>

Loading…
Cancel
Save