equal
deleted
inserted
replaced
191 href = a.get("href"); |
191 href = a.get("href"); |
192 } |
192 } |
193 |
193 |
194 if (a != null && href != null) { |
194 if (a != null && href != null) { |
195 //alert(window.location) ; |
195 //alert(window.location) ; |
196 var loc = (new String(window.location)) ; |
196 var clean_window_location = window.location.href ; |
197 |
197 |
198 var clean_window_location = loc ; |
198 var ind = clean_window_location.indexOf('#') ; |
199 |
|
200 var ind = loc.indexOf('#') ; |
|
201 if (ind != -1) |
199 if (ind != -1) |
202 clean_window_location = loc.substring(0, ind) ; |
200 clean_window_location = clean_window_location.substring(0, ind) ; |
203 |
201 |
204 if (href.indexOf(clean_window_location) == -1q ) { |
202 if (href.indexOf(clean_window_location) == -1 ) { |
205 window.open(a.get("href")); |
203 window.open(a.get("href")); |
206 e.preventDefault(); ; |
204 e.preventDefault(); ; |
207 } |
205 } |
208 } |
206 } |
209 } ; |
207 } ; |