Fix: Variable scope
Fix for type error, cf. https://github.com/ilosuna/mylittleforum/issues/35#issuecomment-252064541
This commit is contained in:
parent
45152578dc
commit
8718955c49
1 changed files with 3 additions and 3 deletions
|
@ -842,10 +842,10 @@ var ready = new (function () {
|
|||
* ein Vorschaufenster und haengt dieses im Dokument
|
||||
* ein
|
||||
* @param structure
|
||||
* @param templatePath
|
||||
* @param path2template
|
||||
*/
|
||||
function AjaxPreviewWindow(structure, templatePath) {
|
||||
var templatePath = templatePath?templatePath:"";
|
||||
function AjaxPreviewWindow(structure, path2template) {
|
||||
var templatePath = path2template?path2template:"";
|
||||
var hideURI = false;
|
||||
var win = document.getElementById('ajax-preview');
|
||||
var self = this;
|
||||
|
|
Loading…
Add table
Reference in a new issue