Compare commits
2 Commits
2021.11.02
...
2021.11.02
Author | SHA1 | Date | |
---|---|---|---|
769faaa31b | |||
2734a3f138 |
@ -50,9 +50,15 @@
|
||||
{
|
||||
<!-- I don't want to include the entire highlight js into the bundle for this 1 page -->
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/highlight.min.js"></script>
|
||||
<script>
|
||||
if (hljs !== undefined) {
|
||||
hljs.highlightAll();
|
||||
}
|
||||
</script>
|
||||
|
||||
<environment include="Development">
|
||||
<script type="text/javascript" src="~/js/configuration.js"></script>
|
||||
</environment>
|
||||
}
|
||||
|
||||
</div>
|
@ -99,7 +99,7 @@ $(document).ready(function () {
|
||||
$.get('https://ip2c.org/' + $(address).data('ip'), function (result) {
|
||||
const countryCode = result.split(';')[1].toLowerCase();
|
||||
if (countryCode !== 'zz') {
|
||||
$(address).css('background-image', `url(https://www.countryflags.io/${countryCode}/flat/64.png)`);
|
||||
$(address).css('background-image', `url('https://flagcdn.com/w80/${countryCode}.png')`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -74,7 +74,6 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
hljs.highlightAll();
|
||||
$('.edit-file' ).on('keydown .editable', function(e){
|
||||
if(e.keyCode === 9) {
|
||||
document.execCommand ( 'styleWithCSS', true, null )
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
$('#ip_lookup_country').text(country);
|
||||
if (countryCode !== 'zz' && countryCode !== '') {
|
||||
$(address).css('background-image', `url(https://www.countryflags.io/${countryCode}/flat/64.png)`);
|
||||
$(address).css('background-image', `url('https://flagcdn.com/w80/${countryCode}.png')`);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -34,7 +34,6 @@
|
||||
/* set the end time for initial event query */
|
||||
startAt = $('.loader-data-time').last().data('time');
|
||||
|
||||
|
||||
$('#filter_meta_container_button').click(function () {
|
||||
$('#filter_meta_container').hide();
|
||||
$('#filter_meta_container').removeClass('d-none');
|
||||
|
Reference in New Issue
Block a user