Commits

Maciej Wiśniowski  committed 4993d7f

allow multiple slots of same type

  • Participants
  • Parent commits b2c1626

Comments (0)

Files changed (1)

File dj_banner/static/dj_banner.js

 
         var base_url = parent.getAttribute('data-baseurl');
         var is_new_window = 1 * parent.getAttribute('data-new_window');
-console.log('baseurl: ' + base_url)
+
         var url = base_url + '?destination=' + $(this).attr('href');
         $(this).attr('href', url);
         if (is_new_window){
             $(this).attr('target', '_blank');
         }
-        return false;
+        return true;
     });
 });