Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

fix history url bug #2

Merged
merged 1 commit into from over 1 year ago

2 participants

Simon botelho
Simon

No description provided.

botelho botelho merged commit 775f1a7 into from December 12, 2012
botelho botelho closed this December 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Dec 11, 2012
Simon fix history url bug 9a070d9
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  js/gamma.js
6  js/gamma.js
@@ -364,7 +364,11 @@ var Gamma = (function() {
364 364
 			}
365 365
 			else if( id === undefined ) {
366 366
 
367  
-				History.pushState( null, null, url('protocol') + '://' + url('hostname') + url('path') );
  367
+				History.pushState(
  368
+					null,
  369
+					null,
  370
+					url('protocol') + '://' + url('hostname') + ((url('port') != 80)?':' + url('port'):'') + url('path')
  371
+				);
368 372
 
369 373
 			}
370 374
 			// adds a new state to the history object
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.