forked from Botanical/BotanJS
Fixed some snippet conf not set properly
This commit is contained in:
@@ -53,8 +53,8 @@
|
||||
{
|
||||
return [
|
||||
new DataKey("id", data.id)
|
||||
, new DataKey("title", decodeURI(data.name))
|
||||
, new DataKey("author", decodeURI(data.author))
|
||||
, new IKey("data-title", data.name)
|
||||
, new IKey("data-author", data.author)
|
||||
, new DataKey("hash", data.hash)
|
||||
];
|
||||
}
|
||||
|
@@ -50,6 +50,7 @@
|
||||
, "OK", "Cancel", visualizer.bind({title: input_title, content:v_snippetInput, expanded: input_expanded, stage: this._stage})).show();
|
||||
}
|
||||
|
||||
/* @type override {_AstXObject_.AstroEdit.Visualizer.Snippet.Spoiler.Override} */
|
||||
, visualizer = function( submitted, override )
|
||||
{
|
||||
var content, title, expanded
|
||||
|
Reference in New Issue
Block a user