diff --git a/js/legacy.js b/js/legacy.js
index 82a6bd12..8f0b23f2 100644
--- a/js/legacy.js
+++ b/js/legacy.js
@@ -130,8 +130,8 @@ jQuery.Legacy = (function($) {
}
// whitelist localhost for development
- for (var i = 0; i < hostname.length; i++) {
- if (window.location.hostname === hostname[i]) {
+ for (var j = 0; j < hostname.length; j++) {
+ if (window.location.hostname === hostname[j]) {
return true;
}
}
diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php
index 42fac244..bb34288a 100644
--- a/tpl/bootstrap.php
+++ b/tpl/bootstrap.php
@@ -71,7 +71,7 @@ if ($MARKDOWN):
endif;
?>
-
+