From 033c91868da7f4604786aaeab89e1fab60bdd121 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 14 Jul 2013 01:33:47 -0700 Subject: we need to actually include spin.js or it causes issues --- view/php/theme_init.php | 1 + view/tpl/jot-header.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/view/php/theme_init.php b/view/php/theme_init.php index e6441fc71..655cf4078 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -13,6 +13,7 @@ head_add_css('library/colorbox/colorbox.css'); head_add_js('js/jquery.js'); head_add_js('js/jquery-migrate-1.1.1.js'); +head_add_js('js/spin.js'); head_add_js('js/jquery.textinputs.js'); head_add_js('js/fk.autocomplete.js'); head_add_js('library/fancybox/jquery.fancybox-1.3.4.js'); diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index dfc707fb5..3afc98737 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -200,7 +200,7 @@ function enableOnUser(){ function jotShare(id) { if ($('#jot-popup').length != 0) $('#jot-popup').show(); - $('#like-rotator-' + id).spin('tiny); + $('#like-rotator-' + id).spin('tiny'); $.get('{{$baseurl}}/share/' + id, function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ -- cgit v1.2.3