Milliron X
diff --git a/js/MillironX_CustomScripts.js b/js/MillironX_CustomScripts.js
index b9619ee..6b6f0fa 100644
--- a/js/MillironX_CustomScripts.js
+++ b/js/MillironX_CustomScripts.js
@@ -1,5 +1,16 @@
$(".img-src").width($("#main-content").width());
-$(window).resize(function () { $(".img-src").width($("#main-content").width()); });
-$("#nav-link-container").height($("#nav-link-list").height());
+if ($("#top-container").width() > 768) {
+ $("#nav-link-container").height($("#nav-link-list").height());
+}
+$(window).resize(function () {
+ $(".img-src").width($("#main-content").width());
+ if ($("#top-container").width() > 768) {
+ $("#nav-link-container").height($("#nav-link-list").height());
+ }
+ else {
+ $("#nav-link-container").css('height', '');
+ }
+});
+
$("#motto").fitText();
$("[rel='tooltip']").tooltip();
\ No newline at end of file