We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99f9ee1 + e006e23 commit 2c4e245Copy full SHA for 2c4e245
chrome/content/splitbrowse.js
@@ -229,10 +229,7 @@ AutoPagerNS.apSplitbrowse = {
229
if (!aEntry)
230
return null;
231
aEntry = aEntry.QueryInterface(Components.interfaces.nsISHContainer);
232
- //var newEntry = aEntry.clone();
233
var newEntry = Components.classes['@mozilla.org/browser/session-history-entry;1'].createInstance(Components.interfaces.nsISHEntry);
234
- newEntry = newEntry.QueryInterface(Components.interfaces.nsIHistoryEntry);
235
- newEntry = newEntry.QueryInterface(Components.interfaces.nsISHContainer);
236
237
newEntry.setURI(aEntry.URI);
238
newEntry.setTitle(aEntry.title);
0 commit comments