Thanks will try this, though strangely it used to generate.

On Friday, 12 October 2018 15:53:06 UTC+1, Thomas Keffer wrote:
>
> Oh, and you're going to have the same problem with 'this'. So, you want
>
>       \$(document).delegate('*[data-toggle="lightbox"]', 'click', 
> function(event) {
>             event.preventDefault();
>             \$(this).ekkoLightbox();
>         });
>
> On Fri, Oct 12, 2018 at 7:51 AM Thomas Keffer <[email protected] 
> <javascript:>> wrote:
>
>> I suspect the problem is a collision between jQuery and Cheetah.
>>
>> Your index.html.tmpl template contains the phrase
>>
>>       $(document).delegate('*[data-toggle="lightbox"]', 'click', 
>> function(event) {
>>             event.preventDefault();
>>             $(this).ekkoLightbox();
>>         });
>>
>> This is a call to the jQuery function $(), but Cheetah is treating it as 
>> a tag. Escape the dollar sign like this:
>>
>>       \$(document).delegate('*[data-toggle="lightbox"]', 'click', 
>> function(event) {
>>             event.preventDefault();
>>             $(this).ekkoLightbox();
>>         });
>>
>> -tk
>>
>> On Fri, Oct 12, 2018 at 7:47 AM Auchtermuchty Weather <[email protected] 
>> <javascript:>> wrote:
>>
>>>
>>> Just to add, I use 'sudo' to run wee_reports as otherwise I get 
>>> permission errors.
>>>
>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to