We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b63995e commit 3bf825bCopy full SHA for 3bf825b
1 file changed
js/dashboard.js
@@ -25,12 +25,13 @@
25
26
/******************************************************************************/
27
28
-var loadDashboardPanel = function(tab) {
+var loadDashboardPanel = function(tab, q) {
29
var tabButton = uDom('[data-dashboard-panel-url="' + tab + '"]');
30
if ( !tabButton ) {
31
return;
32
}
33
- uDom('iframe').attr('src', tab);
+ q = q || '';
34
+ uDom('iframe').attr('src', tab + q);
35
uDom('.tabButton').toggleClass('selected', false);
36
tabButton.toggleClass('selected', true);
37
};
@@ -56,7 +57,7 @@ uDom.onLoad(function() {
56
57
if ( !tab ) {
58
tab = '3p-filters';
59
- loadDashboardPanel(tab + '.html' + q);
60
+ loadDashboardPanel(tab + '.html', q);
61
uDom('.tabButton').on('click', onTabClickHandler);
62
});
63
0 commit comments