Skip to content

Commit

Permalink
Put dataset in fragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
KirkMcDonald committed Oct 18, 2024
1 parent 992cf5e commit fe979da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DEFAULT_RATE, DEFAULT_RATE_PRECISION, DEFAULT_COUNT_PRECISION, DEFAULT_
import { DEFAULT_TAB, currentTab, DEFAULT_VISUALIZER, visualizerType, DEFAULT_RENDER, visualizerRender } from "./events.js"
import { spec, DEFAULT_BELT, DEFAULT_FUEL } from "./factory.js"
import { Rational } from "./rational.js"
import { DEFAULT_TITLE, DEFAULT_COLOR_SCHEME, colorScheme } from "./settings.js"
import { currentMod, DEFAULT_TITLE, DEFAULT_COLOR_SCHEME, colorScheme } from "./settings.js"

function getModuleKey(module) {
let moduleKey
Expand All @@ -32,6 +32,7 @@ export function formatSettings(excludeTitle, overrideTab, targets) {
if (!excludeTitle && document.title !== DEFAULT_TITLE) {
settings += "title=" + encodeURIComponent(document.title) + "&"
}
settings += "data=" + currentMod() + "&"
let tab = currentTab
if (overrideTab) {
tab = overrideTab
Expand Down

0 comments on commit fe979da

Please sign in to comment.