Skip to content

Commit d45aa4a

Browse files
author
mreishman
committed
fixed stuff?
1 parent 92ef1a1 commit d45aa4a

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

core/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function getListOfBrowsers(data)
6464
browserName = browserName[browserName.length - 1];
6565
if(browserName == "internet_explorer" || browserName == "internet-explorer")
6666
{
67-
browserNow === "internet explorer";
67+
browserName === "internet explorer";
6868
}
6969
if(browserList.indexOf(browserName) === -1)
7070
{

core/js/view.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ function showPopup(id)
359359
popupImageLogic(id, document.getElementById(id+"JumbotronImage").src);
360360
}
361361
document.getElementById("popup").style.width = ""+((window.innerWidth*0.9)-280)+"px";
362+
document.getElementById(id+"PopupJumbotronHolder").style.maxWidth = ""+((window.innerWidth*0.9)-540)+"px";
363+
document.getElementById(id+"PopupJumbotronHolder").style.overflow = "auto";
362364
}
363365

364366
function hidePopupWindow()

core/php/commonFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function findUpdateValue($newestVersionCount, $versionCount, $newestVersion, $ve
209209
{
210210
if(isset($newestVersion[$i]) && $newestVersion[$i] !== $version[$i])
211211
{
212-
if($newestVersion[$i] > $version[$i])
212+
if(intval($newestVersion[$i]) > intval($version[$i]))
213213
{
214214
$calcuation = 3-$i;
215215
return max(1, $calcuation);

core/template/viewcss.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
.mainBox
77
{
8-
width: 333px;
8+
width: 356px;
99
height: 450px;
1010
display: inline-table;
1111
background-color: #777;

view/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
</span>
145145
</div>
146146
</td>
147-
<td id="{{id}}" width="240px" style="vertical-align: top;">
147+
<td id="{{id}}" width="260px" style="vertical-align: top;">
148148
<span id="popupSpanLeftHeight" style="display: block;">
149149
<div onclick="hidePopupWindow();" class="link" style="width: 100%; text-align: center; margin-bottom: 10px;" >Close Popup</div>
150150
<br>

0 commit comments

Comments
 (0)