malmostad / global_assets

Global assets for web applications at City of Malmö
https://malmo.se/wag
GNU Affero General Public License v3.0
0 stars 5 forks source link

Masthead error: t.cookie is not a function #7

Closed johanlahti closed 7 years ago

johanlahti commented 8 years ago

When visiting http://malmo.se/karta their is an error in the file: masthead_standalone_without_jquery.js

masthead_standalone_without_jquery.js?_=1466438834752:15 Uncaught TypeError: t.cookie is not a function

Here is how we add the masthead: https://github.com/getsmap/smap-responsive/blob/master/plugins/MalmoHeader/MalmoHeader.js

martent commented 8 years ago

This was because the jQuery.cookie plugin wasn't included in masthead_standalone_without_jquery.js.

No errors are raised from Malmös Global Assets now, as far as I can see.

cc: @magnivar

johanlahti commented 7 years ago

👍