Skip to content

Commit

Permalink
Improve local testability of ?o=9606&g=p53|rad51 format
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Jun 30, 2017
1 parent 1932469 commit e5bf3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website-ui/js/app-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ function( $$organisms, $$networks, $$attributes, $$version, $$stats, util, $$gen
var pathname = decodeURIComponent( window.location.pathname );
var hash = decodeURIComponent( window.location.hash );
var search = decodeURIComponent( window.location.search );

try {

if( pathname.match(/link$/) ){
if( pathname.match(/link$/) || search !== "" ){
var vars = {};

search.substring(1).split('&').forEach(function( nameVal ){
Expand Down

0 comments on commit e5bf3ed

Please sign in to comment.