?
avatar Psychosynthesis
Psychosynthesis
16 Feb 2018

$('*[rel=tooltip]').tooltip()

Is it the string must not end with a semicolon?

$ ('* [rel = tooltip]'). tooltip ();

avatar Psychosynthesis Psychosynthesis - open - 16 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - change - 16 Feb 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Feb 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Feb 2018
Category Code style
avatar C-Lodder
C-Lodder - comment - 16 Feb 2018

Semicolon is not required

avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Feb 2018
Status New Information Required
avatar Psychosynthesis
Psychosynthesis - comment - 18 Feb 2018

Yes, I understand, but if
.tooltip ()
accepts arguments and in the future someone inserts some variable after this call or a function that returns a value, it will search for a long time in what reason.

avatar C-Lodder
C-Lodder - comment - 18 Feb 2018

If you would prefer it to have a semicolon, then by all means, feel free to submit a PR.

avatar dgt41
dgt41 - comment - 18 Feb 2018

Actually this line doesn’t belong to the template.js

avatar ghazal
ghazal - comment - 19 Feb 2018

@dgt41
You mean it should not be there ?

avatar brianteeman
brianteeman - comment - 23 Mar 2018

Closed as not a bug

avatar brianteeman brianteeman - close - 23 Mar 2018
avatar brianteeman brianteeman - change - 23 Mar 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-03-23 22:47:42
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment