From 798b26d61b19515ae6ab273572e8bbbbb3f7bba9 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 2 Mar 2013 13:55:22 +0000 Subject: [PATCH] dont pass view for texts, call URL.replace if setting textPositions --- static/js/pandora/URL.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index b0d94c67d..498df3744 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -50,7 +50,6 @@ pandora.URL = (function() { ); } } else if (pandora.user.ui.section == 'texts') { - state.view = 'text'; var position = pandora.user.ui.textPositions[pandora.user.ui.text]; if (position) { state.span = position; @@ -429,7 +428,8 @@ pandora.URL = (function() { 'listColumnWidth', 'listColumns', 'listSelection', 'mapFind', 'mapSelection' ].indexOf(key) > -1 - || /^videoPoints/.test(key); + || /^videoPoints/.test(key) + || /^textPositions/.test(key); }) ) { action = 'replace';