Skip to content

Commit d1b72ea

Browse files
committed
Minor search box width fix
1 parent 731421c commit d1b72ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/find5.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ var current_top=document.body.scrollTop;if(document.getElementById('findwindow')
149149
{findwindow=document.getElementById('findwindow');}
150150
else
151151
{findwindow.id="findwindow";findwindow.style.position='absolute';document.body.insertBefore(findwindow,document.body.firstChild);findwindow.className='findwindow dragme';findwindow.style.visibility='hidden';}
152-
findwindow.style.backgroundColor=find_window_background;findwindow.style.border='2px solid '+find_window_border;findwindow.style.color=find_text_color;findwindow.style.width=find_window_width+'px';findwindow.style.height=+find_window_height+'px';findwindow.style.top='200px';findwindow.style.right='50px';findwindow.style.padding='0px';findwindow.style.zIndex=2000;findwindow.style.fontSize='14px';findwindow.style.overflowX='hidden';findwindow.innerHTML='<div style="text-align: center'+';width: '+(find_window_width-20)+'px'+';cursor: move'+';color: '+find_title_color+';border: 1px solid '+find_text_color+';background-color: '+find_window_border+';float: left'+';" onmouseover="over=1;" onmouseout="over=0;">'+'Search</div>';findwindow.innerHTML+='<div onclick="hide();" class="close" style="text-align: center'+';width: '+(16)+'px'+';cursor: pointer'+';font-weight: bold'+';background-color: white'+';border: 1px solid '+find_text_color+';float: right'+';">'+'X'+'</div><br />\n';findwindow.innerHTML+='<div id="window_body" style="padding: 5px;">'+'<form onsubmit="return false;"><input type="search" size="20" maxlength="25" id="fwtext"'+' onchange="resettext();" placeholder="Enter text to find">'+'<input class="search-button" type="button" value="Find Prev" onclick="findprev();">'+'<input class="search-button" id="btn" type="button" value="Find Next" onclick="this.blur(); findit();">'+' <span id="find_msg"><br /></span>'+'</form></div>\n';var sheets=document.styleSheets;for(var i=0;i<sheets.length;i++)
152+
findwindow.style.backgroundColor=find_window_background;findwindow.style.border='2px solid '+find_window_border;findwindow.style.color=find_text_color;findwindow.style.width=find_window_width+'px';findwindow.style.height=+find_window_height+'px';findwindow.style.top='200px';findwindow.style.right='50px';findwindow.style.padding='0px';findwindow.style.zIndex=2000;findwindow.style.fontSize='14px';findwindow.style.overflowX='hidden';findwindow.innerHTML='<div style="text-align: center'+';width: '+(find_window_width-20)+'px'+';cursor: move'+';color: '+find_title_color+';border: 1px solid '+find_text_color+';background-color: '+find_window_border+';float: left'+';" onmouseover="over=1;" onmouseout="over=0;">'+'Search</div>';findwindow.innerHTML+='<div onclick="hide();" class="close" style="text-align: center'+';width: '+(16)+'px'+';cursor: pointer'+';font-weight: bold'+';background-color: white'+';border: 1px solid '+find_text_color+';float: right'+';">'+'X'+'</div><br />\n';findwindow.innerHTML+='<div id="window_body" style="padding: 5px;">'+'<form onsubmit="return false;"><input type="search" size="22" maxlength="25" id="fwtext"'+' onchange="resettext();" placeholder="Enter text to find">'+'<input class="search-button" type="button" value="Find Prev" onclick="findprev();">'+'<input class="search-button" id="btn" type="button" value="Find Next" onclick="this.blur(); findit();">'+' <span id="find_msg"><br /></span>'+'</form></div>\n';var sheets=document.styleSheets;for(var i=0;i<sheets.length;i++)
153153
{var rules=(sheets[i].rules)?sheets[i].rules:sheets[i].cssRules;if(rules!=null)
154154
for(var j=0;j<rules.length;j++)
155155
{if(rules[j].selectorText=='.highlight')

0 commit comments

Comments
 (0)