mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Add support to IE
This commit is contained in:
parent
89b3f4a450
commit
8a2a61ebda
@ -709,9 +709,9 @@
|
|||||||
for (var i = 0; i < badges_options.length; i++) {
|
for (var i = 0; i < badges_options.length; i++) {
|
||||||
var badge = badges_options[i];
|
var badge = badges_options[i];
|
||||||
if (data.badges.indexOf(badge) != -1) {
|
if (data.badges.indexOf(badge) != -1) {
|
||||||
$(`#usercard .badges .${badge}`).show();
|
$("#usercard .badges ." + badge).show();
|
||||||
} else {
|
} else {
|
||||||
$(`#usercard .badges .${badge}`).hide();
|
$("#usercard .badges ." + badge).hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$("#usercard .avatar").attr("src", data.avatar_url);
|
$("#usercard .avatar").attr("src", data.avatar_url);
|
||||||
|
@ -243,6 +243,7 @@
|
|||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.js" integrity="sha256-sdmLD9jD1PIzq3KOQPNSGZYxjv76rds79Mnyk5JNp1M=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.js" integrity="sha256-sdmLD9jD1PIzq3KOQPNSGZYxjv76rds79Mnyk5JNp1M=" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5.0/2/twemoji.min.js" integrity="sha256-t5bxASdQ5tDbKQZy330h/YufCiZg82xG8PqIYzFpwhU=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5.0/2/twemoji.min.js" integrity="sha256-t5bxASdQ5tDbKQZy330h/YufCiZg82xG8PqIYzFpwhU=" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/soundmanager2/2.97a.20150601/script/soundmanager2-nodebug-jsmin.js" integrity="sha256-5KBL+8gS3BkWOs22YOrezN3Djl4pwodgZaPQY9hgu4Y=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/soundmanager2/2.97a.20150601/script/soundmanager2-nodebug-jsmin.js" integrity="sha256-5KBL+8gS3BkWOs22YOrezN3Djl4pwodgZaPQY9hgu4Y=" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.3/es6-shim.min.js" integrity="sha256-THlgZSjqt7idNSdnUvGypTuXB5C4hV9kSuPYrbiq19o=" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
<script src="{{ url_for("static", filename="js/vendor/highlight.pack.js") }}"></script>
|
<script src="{{ url_for("static", filename="js/vendor/highlight.pack.js") }}"></script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user